Skip to content

Commit 6ba4446

Browse files
authored
Added options for travis to build on gcc 5,6 and 7
Trying out travis build on gcc 5, 6 and 7. Experimental, possibly needs revert.
1 parent b5f5ef9 commit 6ba4446

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.travis.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ before_install:
1717
- make
1818
- sudo make install
1919
- cd ..
20+
- eval "${MATRIX_EVAL}"
2021
script:
2122
- ./bootstrap
2223
- mkdir build
@@ -32,3 +33,31 @@ matrix:
3233
env: DEBUG="debug"
3334
- compiler: clang
3435
env: LINKING='static'
36+
include:
37+
- os: linux
38+
addons:
39+
apt:
40+
sources:
41+
- ubuntu-toolchain-r-test
42+
packages:
43+
- g++-5
44+
env:
45+
- MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
46+
- os: linux
47+
addons:
48+
apt:
49+
sources:
50+
- ubuntu-toolchain-r-test
51+
packages:
52+
- g++-6
53+
env:
54+
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
55+
- os: linux
56+
addons:
57+
apt:
58+
sources:
59+
- ubuntu-toolchain-r-test
60+
packages:
61+
- g++-7
62+
env:
63+
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"

0 commit comments

Comments
 (0)