File tree Expand file tree Collapse file tree 1 file changed +9
-47
lines changed Expand file tree Collapse file tree 1 file changed +9
-47
lines changed Original file line number Diff line number Diff line change 6
6
depth : 1
7
7
submodules : false
8
8
9
- # From https://docs.travis-ci.com/user/languages/cpp/ - to get less ancient GCC/G++
10
- matrix :
11
- include :
12
- # works on Precise and Trusty
13
- - os : linux
14
- addons :
15
- apt :
16
- sources :
17
- - ubuntu-toolchain-r-test
18
- packages :
19
- - g++-4.9
20
- env :
21
- - MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
22
-
23
- # works on Precise and Trusty
24
- - os : linux
25
- addons :
26
- apt :
27
- sources :
28
- - ubuntu-toolchain-r-test
29
- packages :
30
- - g++-5
31
- env :
32
- - MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
33
-
34
- # works on Precise and Trusty
35
- - os : linux
36
- addons :
37
- apt :
38
- sources :
39
- - ubuntu-toolchain-r-test
40
- packages :
41
- - g++-6
42
- env :
43
- - MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
44
-
45
- # works on Precise and Trusty
46
- - os : linux
47
- addons :
48
- apt :
49
- sources :
50
- - ubuntu-toolchain-r-test
51
- packages :
52
- - g++-7
53
- env :
54
- - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
9
+ addons :
10
+ apt :
11
+ sources :
12
+ - ubuntu-toolchain-r-test
13
+ packages :
14
+ - g++-7
15
+ - gcc-7
55
16
56
17
before_install :
57
18
- git submodule update --init # no recursive update
58
- - eval "${MATRIX_EVAL}"
59
19
60
20
cache :
61
21
directories :
128
88
stage : build
129
89
script : $TRAVIS_BUILD_DIR/tests/ci/host_test.sh
130
90
install : sudo apt-get install valgrind lcov
91
+ env : CC=gcc-7 CXX=g++-7
131
92
132
93
- name : " Docs"
133
94
stage : build
@@ -144,6 +105,7 @@ jobs:
144
105
- name : " Mock trivial test"
145
106
stage : build
146
107
script : $TRAVIS_BUILD_DIR/tests/buildm.sh
108
+ env : CC=gcc-7 CXX=g++-7
147
109
148
110
- name : " Boards"
149
111
stage : build
You can’t perform that action at this time.
0 commit comments