Skip to content

Commit a730646

Browse files
author
Erik Rigtorp
committed
Add more C++ compilers to build matrix
1 parent 81327b9 commit a730646

File tree

1 file changed

+52
-6
lines changed

1 file changed

+52
-6
lines changed

.travis.yml

Lines changed: 52 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,19 @@ matrix:
1717
os: linux
1818
script: ./gradlew --scan
1919

20+
- env: COMPILER=g++-5
21+
language: cpp
22+
compiler: gcc
23+
os: linux
24+
addons:
25+
apt:
26+
packages:
27+
- g++-5
28+
- libsparsehash-dev
29+
sources:
30+
- ubuntu-toolchain-r-test
31+
script: ./cppbuild/cppbuild
32+
2033
- env: COMPILER=g++-6
2134
language: cpp
2235
compiler: gcc
@@ -56,6 +69,32 @@ matrix:
5669
- ubuntu-toolchain-r-test
5770
script: ./cppbuild/cppbuild
5871

72+
- env: COMPILER=g++-9
73+
language: cpp
74+
compiler: gcc
75+
os: linux
76+
addons:
77+
apt:
78+
packages:
79+
- g++-9
80+
- libsparsehash-dev
81+
sources:
82+
- ubuntu-toolchain-r-test
83+
script: ./cppbuild/cppbuild
84+
85+
- env: COMPILER=clang++-4.0
86+
language: cpp
87+
compiler: clang
88+
os: linux
89+
addons:
90+
apt:
91+
packages:
92+
- clang-4.0
93+
- libsparsehash-dev
94+
sources:
95+
- llvm-toolchain-xenial-4.0
96+
script: ./cppbuild/cppbuild
97+
5998
- env: COMPILER=clang++-5.0
6099
language: cpp
61100
compiler: clang
@@ -64,10 +103,8 @@ matrix:
64103
apt:
65104
packages:
66105
- clang-5.0
67-
- libstdc++-7-dev
68106
- libsparsehash-dev
69107
sources:
70-
- ubuntu-toolchain-r-test
71108
- llvm-toolchain-xenial-5.0
72109
script: ./cppbuild/cppbuild
73110

@@ -79,10 +116,8 @@ matrix:
79116
apt:
80117
packages:
81118
- clang-6.0
82-
- libstdc++-7-dev
83119
- libsparsehash-dev
84120
sources:
85-
- ubuntu-toolchain-r-test
86121
- llvm-toolchain-xenial-6.0
87122
script: ./cppbuild/cppbuild
88123

@@ -94,13 +129,24 @@ matrix:
94129
apt:
95130
packages:
96131
- clang-7
97-
- libstdc++-7-dev
98132
- libsparsehash-dev
99133
sources:
100-
- ubuntu-toolchain-r-test
101134
- llvm-toolchain-xenial-7
102135
script: ./cppbuild/cppbuild
103136

137+
- env: COMPILER=clang++-8
138+
language: cpp
139+
compiler: clang
140+
os: linux
141+
addons:
142+
apt:
143+
packages:
144+
- clang-8
145+
- libsparsehash-dev
146+
sources:
147+
- llvm-toolchain-xenial-8
148+
script: ./cppbuild/cppbuild
149+
104150
- env: COMPILER=clang++
105151
language: c++
106152
compiler: clang

0 commit comments

Comments
 (0)