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
|
|
|
|
2016-01-21 07:42:10 -08:00
|
|
|
git:
|
2017-09-09 15:38:53 -07:00
|
|
|
depth: 10
|
2016-01-21 07:42:10 -08:00
|
|
|
|
2018-07-28 02:52:40 -07:00
|
|
|
jobs:
|
2016-09-14 11:54:25 -07:00
|
|
|
include:
|
2018-07-28 02:52:40 -07:00
|
|
|
- stage: Unit tests
|
|
|
|
name: Linux (gcc 6)
|
2018-07-28 02:27:48 -07:00
|
|
|
os: linux
|
|
|
|
env: COMPILER=g++-6
|
2017-08-18 10:16:03 -07:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
2018-07-28 02:27:48 -07:00
|
|
|
- g++-6
|
2017-08-18 10:16:03 -07:00
|
|
|
- libudev-dev
|
|
|
|
- libxrandr-dev
|
2016-09-14 11:54:25 -07:00
|
|
|
cache:
|
|
|
|
directories:
|
2018-07-28 02:27:48 -07:00
|
|
|
- $HOME/SFML-2.5.0_LINUX
|
2018-07-28 02:52:40 -07:00
|
|
|
script:
|
|
|
|
- chmod +x tests/travis_linux_tests.sh
|
2018-07-28 02:58:23 -07:00
|
|
|
- CXX=$COMPILER tests/travis_linux_tests.sh
|
2018-07-28 02:52:40 -07:00
|
|
|
after_success: bash <(curl -s https://codecov.io/bash) -x gcov-6 -a "-s /home/travis/build/texus/TGUI -pr"
|
2016-09-14 11:54:25 -07:00
|
|
|
|
2018-07-28 02:52:40 -07:00
|
|
|
- stage: Cross-platform tests
|
|
|
|
name: Linux (gcc 4.9)
|
2018-07-28 02:27:48 -07:00
|
|
|
os: linux
|
|
|
|
env: COMPILER=g++-4.9
|
2017-08-18 10:16:03 -07:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
2018-07-28 02:27:48 -07:00
|
|
|
- g++-4.9
|
2017-08-18 10:16:03 -07:00
|
|
|
- libudev-dev
|
2018-05-15 13:28:11 -07:00
|
|
|
- libxrandr-dev
|
2016-09-14 11:54:25 -07:00
|
|
|
cache:
|
2018-07-28 02:27:48 -07:00
|
|
|
ccache: true
|
2016-09-14 11:54:25 -07:00
|
|
|
directories:
|
2018-07-28 02:27:48 -07:00
|
|
|
- $HOME/SFML_LINUX
|
2018-07-28 02:52:40 -07:00
|
|
|
script:
|
|
|
|
- chmod +x tests/travis_linux.sh
|
2018-07-28 02:58:23 -07:00
|
|
|
- CXX=$COMPILER tests/travis_linux.sh
|
2018-07-28 02:27:48 -07:00
|
|
|
|
2018-07-28 02:52:40 -07:00
|
|
|
- name: Android
|
2018-07-28 02:27:48 -07:00
|
|
|
language: android
|
|
|
|
env:
|
2018-07-28 07:51:56 -07:00
|
|
|
- NDK_DIR=$HOME/android-ndk
|
2018-07-28 02:27:48 -07:00
|
|
|
android:
|
|
|
|
components:
|
|
|
|
- android-23
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- ant
|
|
|
|
cache:
|
|
|
|
directories:
|
2018-07-28 07:51:56 -07:00
|
|
|
- $HOME/sfml-cache
|
2018-07-28 02:52:40 -07:00
|
|
|
script:
|
|
|
|
- chmod +x tests/travis_android.sh
|
|
|
|
- tests/travis_android.sh
|
2016-09-14 11:54:25 -07:00
|
|
|
|
2018-07-28 02:52:40 -07:00
|
|
|
- name: maxOS
|
2018-07-28 02:27:48 -07:00
|
|
|
os: osx
|
2016-09-15 06:05:04 -07:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/SFML_OSX
|
2018-07-28 02:52:40 -07:00
|
|
|
script:
|
|
|
|
- chmod +x tests/travis_osx.sh
|
|
|
|
- tests/travis_osx.sh
|
2016-09-14 11:54:25 -07:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
webhooks:
|
|
|
|
urls:
|
|
|
|
- https://webhooks.gitter.im/e/66857e210e9200bcb6b7
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
|
|
|
on_start: never
|