2016-06-16 21:22:47 +02:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
2016-10-17 22:16:25 +02:00
|
|
|
language: generic
|
|
|
|
env:
|
|
|
|
- CXX=g++-5 CC=gcc-5
|
2016-08-04 03:49:25 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
2016-10-17 22:16:25 +02:00
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
2016-08-04 03:49:25 +02:00
|
|
|
packages:
|
2016-10-17 22:16:25 +02:00
|
|
|
- g++-5
|
2016-08-04 03:49:25 +02:00
|
|
|
- libbullet-dev
|
|
|
|
- libsdl2-dev
|
|
|
|
- libglm-dev
|
|
|
|
- libopenal-dev
|
2017-09-13 20:58:29 +02:00
|
|
|
- libavcodec-dev
|
|
|
|
- libavformat-dev
|
2016-08-04 03:49:25 +02:00
|
|
|
- libboost-filesystem-dev
|
2016-09-01 19:04:21 +02:00
|
|
|
- libboost-program-options-dev
|
2016-08-05 18:44:49 +02:00
|
|
|
# Dependencies for BUILD_TESTS
|
|
|
|
- libboost-test-dev
|
|
|
|
# Dependencies for BUILD_VIEWER
|
|
|
|
- qt5-default
|
|
|
|
- libqt5opengl5-dev
|
2016-06-16 21:22:47 +02:00
|
|
|
git:
|
|
|
|
depth: 3
|
|
|
|
script:
|
2017-10-27 18:32:21 +02:00
|
|
|
- ctest -S cmake/ctest/travis_script.ctest -VV -DSRC_DIR=. -DBIN_DIR=build
|
2017-10-27 05:40:58 +02:00
|
|
|
- if [ -f FATAL_ERROR ]; then printf "Fatal failure detected.\nExiting with non-zero result code.\n"; exit 1; fi
|
2016-06-16 21:22:47 +02:00
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
# irc:
|
|
|
|
# channels:
|
|
|
|
# - chat.freenode.net#openrw
|
|
|
|
# template:
|
|
|
|
# - "%{repository}/%{branch} (%{commit} - %{author}): %{build_url}: %{message}"
|