2015-08-15 05:15:19 -07:00
|
|
|
sudo: false
|
2014-08-14 16:06:16 -07:00
|
|
|
language: cpp
|
2015-07-19 10:24:55 -07:00
|
|
|
|
2015-09-05 14:48:10 -07:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
2015-07-19 10:24:55 -07:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
2015-07-19 10:35:29 -07:00
|
|
|
- g++-4.7
|
2015-07-19 10:24:55 -07:00
|
|
|
- g++-5
|
|
|
|
- libpthread-stubs0-dev
|
|
|
|
- libgl1-mesa-dev
|
|
|
|
- libx11-dev
|
|
|
|
- libxrandr-dev
|
|
|
|
- libfreetype6-dev
|
|
|
|
- libglew-dev
|
|
|
|
- libjpeg-dev
|
|
|
|
- libgpgme11-dev
|
|
|
|
- libsndfile1-dev
|
|
|
|
- libopenal-dev
|
|
|
|
- libudev-dev
|
2014-08-14 16:06:16 -07:00
|
|
|
|
2015-08-15 05:15:19 -07:00
|
|
|
cache:
|
|
|
|
directories:
|
2015-09-05 14:48:10 -07:00
|
|
|
- $HOME/SFML_LINUX
|
|
|
|
- $HOME/SFML_OSX
|
2015-08-15 05:15:19 -07:00
|
|
|
|
2015-09-05 14:48:10 -07:00
|
|
|
script:
|
2015-08-15 05:15:19 -07:00
|
|
|
- >
|
2015-09-05 14:48:10 -07:00
|
|
|
if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
|
|
|
|
chmod +x tests/travis_linux.sh
|
|
|
|
tests/travis_linux.sh
|
|
|
|
elif [[ $TRAVIS_OS_NAME == 'osx' ]]; then
|
|
|
|
chmod +x tests/travis_osx.sh
|
|
|
|
tests/travis_osx.sh
|
2015-08-15 05:15:19 -07:00
|
|
|
else
|
2015-09-05 14:48:10 -07:00
|
|
|
echo 'Invalid OS'
|
|
|
|
exit 1
|
2015-08-15 05:15:19 -07:00
|
|
|
fi
|
2015-11-04 05:39:39 -08:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash) -x gcov-5 -a "-s /home/travis/build/texus/TGUI -pr"
|