-
Notifications
You must be signed in to change notification settings - Fork 101
/
travis.yml
107 lines (89 loc) · 3.97 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
sudo: required
dist: trusty
language: cpp
addons:
apt:
sources:
- ubuntu-toolchain-r-test
# - llvm-toolchain-trusty
# we're not using combination parameters here to ensure that the builds
# run in the order we want. (We want to perform the fastest tests first so
# failed tests appear as early as possible).
env:
global:
- PATH=/usr/local/bin:$PATH
# NOTE: The compiler setting is unused. It simply makes the display on
# travis-ci.org more readable.
# WARNING: do not use the name CXX. Travis will ignore the value here.
matrix:
include:
#
# ----------- Coverage (covers all tests, slow) -------------------------
#
- env: CXX_=g++-7 A=64 BT=Coverage
- env: CXX_=g++-7 A=32 BT=Coverage
#
# ----------- other tests -----------------------------------------------
#
#- env: CXX_=clang++-7 A=32 BT=Debug SAN=ALL VG=ON
#- env: CXX_=clang++-7 A=64 BT=Debug SAN=ALL VG=ON
#- env: CXX_=clang++-7 A=32 BT=Release SAN=ALL VG=ON
#- env: CXX_=clang++-7 A=64 BT=Release SAN=ALL VG=ON
- env: CXX_=g++-7 A=32 BT=Debug SAN=ALL VG=ON
- env: CXX_=g++-7 A=64 BT=Debug SAN=ALL VG=ON
- env: CXX_=g++-7 A=32 BT=Release SAN=ALL VG=ON
- env: CXX_=g++-7 A=64 BT=Release SAN=ALL VG=ON
- env: CXX_=clang++-6.0 A=32 BT=Debug SAN=ALL VG=ON
- env: CXX_=clang++-6.0 A=64 BT=Debug SAN=ALL VG=ON
- env: CXX_=clang++-6.0 A=32 BT=Release SAN=ALL VG=ON
- env: CXX_=clang++-6.0 A=64 BT=Release SAN=ALL VG=ON
- env: CXX_=clang++-5.0 A=32 BT=Debug SAN=ALL VG=ON
- env: CXX_=clang++-5.0 A=64 BT=Debug SAN=ALL VG=ON
- env: CXX_=clang++-5.0 A=32 BT=Release SAN=ALL VG=ON
- env: CXX_=clang++-5.0 A=64 BT=Release SAN=ALL VG=ON
- env: CXX_=clang++-4.0 A=32 BT=Debug SAN=ALL VG=ON
- env: CXX_=clang++-4.0 A=64 BT=Debug SAN=ALL VG=ON
- env: CXX_=clang++-4.0 A=32 BT=Release SAN=ALL VG=ON
- env: CXX_=clang++-4.0 A=64 BT=Release SAN=ALL VG=ON
- env: CXX_=clang++-3.9 A=32 BT=Debug SAN=ALL VG=ON
- env: CXX_=clang++-3.9 A=64 BT=Debug SAN=ALL VG=ON
- env: CXX_=clang++-3.9 A=32 BT=Release SAN=ALL VG=ON
- env: CXX_=clang++-3.9 A=64 BT=Release SAN=ALL VG=ON
- env: CXX_=g++-6 A=32 BT=Debug SAN=ALL VG=ON
- env: CXX_=g++-6 A=64 BT=Debug SAN=ALL VG=ON
- env: CXX_=g++-6 A=32 BT=Release SAN=ALL VG=ON
- env: CXX_=g++-6 A=64 BT=Release SAN=ALL VG=ON
- env: CXX_=clang++-3.8 A=32 BT=Debug SAN=ALL VG=ON
- env: CXX_=clang++-3.8 A=64 BT=Debug SAN=ALL VG=ON
- env: CXX_=clang++-3.8 A=32 BT=Release SAN=ALL VG=ON
- env: CXX_=clang++-3.8 A=64 BT=Release SAN=ALL VG=ON
- env: CXX_=g++-5 A=32 BT=Debug SAN=ALL VG=ON
- env: CXX_=g++-5 A=64 BT=Debug SAN=ALL VG=ON
- env: CXX_=g++-5 A=32 BT=Release SAN=ALL VG=ON
- env: CXX_=g++-5 A=64 BT=Release SAN=ALL VG=ON
- env: CXX_=clang++-3.7 A=32 BT=Debug SAN=ALL VG=ON
- env: CXX_=clang++-3.7 A=64 BT=Debug SAN=ALL VG=ON
- env: CXX_=clang++-3.7 A=32 BT=Release SAN=ALL VG=ON
- env: CXX_=clang++-3.7 A=64 BT=Release SAN=ALL VG=ON
#- env: CXX_=g++-4.9 A=32 BT=Debug SAN=ALL VG=ON
#- env: CXX_=g++-4.9 A=64 BT=Debug SAN=ALL VG=ON
#- env: CXX_=g++-4.9 A=32 BT=Release SAN=ALL VG=ON
#- env: CXX_=g++-4.9 A=64 BT=Release SAN=ALL VG=ON
- env: CXX_=clang++-3.6 A=32 BT=Debug SAN=ALL VG=ON
- env: CXX_=clang++-3.6 A=64 BT=Debug SAN=ALL VG=ON
- env: CXX_=clang++-3.6 A=32 BT=Release SAN=ALL VG=ON
- env: CXX_=clang++-3.6 A=64 BT=Release SAN=ALL VG=ON
# ----------- clang-tidy
#
- env: CXX_=clang++-6.0 A=32 BT=Debug LINT=clang-tidy
- env: CXX_=clang++-6.0 A=64 BT=Debug LINT=clang-tidy
- env: CXX_=clang++-6.0 A=32 BT=Release LINT=clang-tidy
- env: CXX_=clang++-6.0 A=64 BT=Release LINT=clang-tidy
#
install:
- bash -x .ci/travis-install.sh
script:
- bash -x .ci/travis-test.sh
after_success:
- echo "Success!"
- bash -x .ci/travis-coverage.sh