NazaraEngine/.travis.yml

32 lines
566 B
YAML

language:
cpp
sudo:
required
notifications:
email: true
services:
- docker
before_install:
- docker build -t nazara .
script:
- docker run --name Nazara -v `pwd`:/NazaraEngine nazara
sh -c "
cd build &&
./premake5-linux64 --with-examples gmake &&
cd gmake &&
make -j4 -f NazaraEngine.make
"
#after_script:
# - docker exec Nazara
# sh -c "
# cd ../../tests &&
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../lib/gmake/x64/:../extlibs/lib/gmake/x64/ &&
# ./NazaraUnitTests
# "