-
-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy path.travis.yml
78 lines (78 loc) · 1.71 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
language: rust
rust:
- stable
cache:
cargo: true
branches:
only:
- staging
- trying
- master
except:
- staging.tmp
matrix:
include:
#- os: linux
# language: android
# compiler: gcc
# env:
# - JOB="android_gcc"
# android:
# components:
# - build-tools-26.0.1
# - android-18
# jdk: openjdk8
- os: osx
osx_image: xcode9
compiler: clang
env:
- JOB="macos_clang"
- os: linux
compiler: gcc
env:
- JOB="linux_gcc"
addons:
apt:
sources:
- llvm-toolchain-precise
- ubuntu-toolchain-r-test
packages:
- g++-5
- os: linux
compiler: clang
env:
- JOB="linux_clang"
addons:
apt:
sources:
- llvm-toolchain-precise
- ubuntu-toolchain-r-test
packages:
- clang-5.0
- os: linux
compiler: clang
env:
- JOB="linux_wasm"
addons:
apt:
sources:
- llvm-toolchain-precise
- ubuntu-toolchain-r-test
packages:
- clang-5.0
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/c09595dea93d78afd940
on_success: change
on_failure: always
on_start: never
script:
- cd .travis
- chmod +x *.sh
- cd $TRAVIS_BUILD_DIR
- if [[ $JOB == "android_gcc" ]]; then .travis/android_gcc.sh; fi
- if [[ $JOB == "macos_clang" ]]; then .travis/macos_clang.sh; fi
- if [[ $JOB == "linux_gcc" ]]; then .travis/linux_gcc.sh; fi
- if [[ $JOB == "linux_clang" ]]; then .travis/linux_clang.sh; fi
- if [[ $JOB == "linux_wasm" ]]; then .travis/linux_wasm.sh; fi