Enable Travis-CI service (By @Gawaboumga)

Former-commit-id: c1d99b6d4143e8836ee0d78ff63069876c9ad79d [formerly ad183fdb6a31e9e7f7dfcde5000cf028a63df0b7] [formerly abd770532214b16cb0a30c11fb33eb36b6bb8198 [formerly 3bb0d4d7574707a52feb54ce585709f2fe53f8f7]]
Former-commit-id: ff3f54eb9ea724597bd7b90ed48a8abc407f6a98 [formerly c922a4b3af5daae9555e4dfb645891e648588e7d]
Former-commit-id: 59d8e6ffc8ebcf5cb9b92e50b5d2507e7930d962
This commit is contained in:
Lynix 2016-09-22 00:03:25 +02:00
parent 34c1208202
commit 52cc7bcd2e
2 changed files with 36 additions and 0 deletions

25
.travis.yml Normal file
View File

@ -0,0 +1,25 @@
language: cpp
sudo: required
services:
- docker
before_install:
- docker build -t nazara .
script:
- docker run -v `pwd`:/NazaraEngine nazara
sh -c "cd build &&
./premake5-linux64 --with-examples gmake &&
cd gmake &&
make -j4 -f NazaraEngine.make &&
cd ../../tests &&
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../lib/gmake/x64/:../extlibs/lib/gmake/x64/
"
notifications:
email: true
branches:
only:
- master

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM ubuntu:xenial
RUN apt-get update && apt-get -y install && \
apt-get install -y libssl1.0.0 libssl-dev && \
apt-get install -y libopenal-dev libsndfile1-dev && \
apt-get install -y libxcb-cursor-dev libxcb-ewmh-dev libxcb-randr0-dev libxcb-icccm4-dev libxcb-keysyms1-dev libx11-dev libfreetype6-dev && \
apt-get install -y mesa-common-dev libgl1-mesa-dev && \
apt-get install -y libassimp-dev
RUN mkdir /NazaraEngine
WORKDIR /NazaraEngine