TGUI/.travis.yml

91 lines
1.8 KiB
YAML
Raw Permalink Normal View History

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
dist: xenial
env: COMPILER=g++-6
services:
- xvfb
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- libudev-dev
- libxrandr-dev
- libgl1-mesa-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
dist: xenial
env: COMPILER=g++-4.9
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
- libudev-dev
- libxrandr-dev
- libgl1-mesa-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:
2018-07-28 07:51:56 -07:00
- NDK_DIR=$HOME/android-ndk
android:
components:
- android-27
addons:
apt:
packages:
2018-10-13 07:29:01 -07:00
- gradle
cache:
directories:
2018-07-28 07:51:56 -07:00
- $HOME/sfml-cache
before_script:
- yes | sdkmanager --update
- yes | sdkmanager --licenses
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
- name: macOS
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