File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
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"
55
+
9
56
before_install :
10
57
- git submodule update --init # no recursive update
58
+ - eval "${MATRIX_EVAL}"
11
59
12
60
cache :
13
61
directories :
You can’t perform that action at this time.
0 commit comments