-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
154 lines (151 loc) · 3.93 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
language: cpp
addons:
apt:
update: true
matrix:
include:
- os: osx
compiler: clang
env:
- N=osx-clang-debug-yes
script:
- python ./build/build_helper.py --travis-ci --compiler-type clang --debug yes
- os: osx
compiler: clang
env:
- N=osx-clang-debug-no
script:
- python ./build/build_helper.py --travis-ci --compiler-type clang --debug no
- os: linux
compiler: clang
dist: precise
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
packages:
- clang-3.7
env:
- N=clang-3.7
script:
- python ./build/build_helper.py --travis-ci --compiler-exec-like clang++-3.7
- os: linux
compiler: clang
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-4.0
packages:
- clang-4.0
env:
- N=clang++-4.0
script:
- python ./build/build_helper.py --travis-ci --compiler-exec-like clang++-4
- os: linux
compiler: clang
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-5.0
packages:
- clang-5.0
env:
- N=clang++-5.0
script:
- python ./build/build_helper.py --travis-ci --compiler-exec-like clang++-5
- os: linux
compiler: clang
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-6.0
packages:
- clang-6.0
env:
- N=clang++-6.0 sanitizer-no
script:
- python ./build/build_helper.py --travis-ci --compiler-exec-like clang++-6 --sanitizer no
- os: linux
compiler: clang
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-6.0
packages:
- clang-6.0
env:
- N=clang++-6.0 sanitizer-yes
script:
- python ./build/build_helper.py --travis-ci --compiler-exec-like clang++-6 --sanitizer yes
- os: linux
compiler: gcc
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- g++-4.8-multilib
env:
- N=g++-4.8
script:
- python ./build/build_helper.py --travis-ci --compiler-exec-like g++-4
- os: linux
compiler: gcc
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- g++-5-multilib
env:
- N=g++-5
script:
- python ./build/build_helper.py --travis-ci --compiler-exec-like g++-5
- os: linux
compiler: gcc
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
- g++-6-multilib
env:
- N=g++-6
script:
- python ./build/build_helper.py --travis-ci --compiler-exec-like g++-6
- os: linux
compiler: gcc
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
- g++-7-multilib
env:
- N=g++-7
script:
- python ./build/build_helper.py --travis-ci --compiler-exec-like g++-7
- pip install --user cpp-coveralls
- ./out/.bin/gn gen out/coveralls --args="is_debug=true is_generate_test_coverage=true compiler_type=\"gcc\" compiler_exec=\"g++-7\" std_version=\"c++17\""
- ./out/.bin/ninja -C out/coveralls
- coveralls -t $COVERALLS_REPO_TOKEN -e performance -e test -b out/coveralls
before_install:
- python --version
- ls -all /usr/bin/ | grep ++