TGUI/.travis.yml

83 lines
1.6 KiB
YAML
Raw Normal View History

sudo: false
language: cpp
git:
depth: 10
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)
os: linux
env: COMPILER=g++-6
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- libudev-dev
- libxrandr-dev
2016-09-14 11:54:25 -07:00
cache:
directories:
- $HOME/SFML-2.5.0_LINUX
2018-07-28 02:52:40 -07:00
script:
- chmod +x tests/travis_linux_tests.sh
- 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)
os: linux
env: COMPILER=g++-4.9
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
- libudev-dev
- libxrandr-dev
2016-09-14 11:54:25 -07:00
cache:
ccache: true
2016-09-14 11:54:25 -07:00
directories:
- $HOME/SFML_LINUX
2018-07-28 02:52:40 -07:00
script:
- chmod +x tests/travis_linux.sh
- CXX=$COMPILER tests/travis_linux.sh
2018-07-28 02:52:40 -07:00
- name: Android
language: android
env:
- ANDROID_NDK=$HOME/android-ndk-r17b
android:
components:
- android-23
addons:
apt:
packages:
- ant
cache:
directories:
- $ANDROID_NDK/sources/sfml
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
os: osx
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