forked from texus/TGUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
90 lines (84 loc) · 1.8 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
language: cpp
git:
depth: 10
jobs:
include:
- 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
cache:
directories:
- $HOME/SFML-2.5.0_LINUX
script:
- chmod +x tests/travis_linux_tests.sh
- CXX=$COMPILER tests/travis_linux_tests.sh
after_success: bash <(curl -s https://codecov.io/bash) -x gcov-6 -a "-s /home/travis/build/texus/TGUI -pr"
- 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
cache:
ccache: true
directories:
- $HOME/SFML_LINUX
script:
- chmod +x tests/travis_linux.sh
- CXX=$COMPILER tests/travis_linux.sh
- name: Android
language: android
env:
- NDK_DIR=$HOME/android-ndk
android:
components:
- android-27
addons:
apt:
packages:
- gradle
cache:
directories:
- $HOME/sfml-cache
before_script:
- yes | sdkmanager --update
- yes | sdkmanager --licenses
script:
- chmod +x tests/travis_android.sh
- tests/travis_android.sh
- name: macOS
os: osx
cache:
directories:
- $HOME/SFML_OSX
script:
- chmod +x tests/travis_osx.sh
- tests/travis_osx.sh
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/66857e210e9200bcb6b7
on_success: change
on_failure: always
on_start: never