Skip to content

Commit 35d6f60

Browse files
authored
Merge pull request #689 from rigtorp/add-new-compilers
Add new compilers
2 parents 644ccde + a730646 commit 35d6f60

File tree

1 file changed

+54
-14
lines changed

1 file changed

+54
-14
lines changed

.travis.yml

Lines changed: 54 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
dist: xenial
2+
13
sudo: false
24

35
matrix:
@@ -7,21 +9,31 @@ matrix:
79
language: java
810
jdk: openjdk8
911
os: linux
10-
dist: xenial
1112
script: ./gradlew --scan
1213

1314
- name: "OpenJDK 11"
1415
language: java
1516
jdk: openjdk11
1617
os: linux
17-
dist: xenial
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
2336
os: linux
24-
dist: xenial
2537
addons:
2638
apt:
2739
packages:
@@ -35,7 +47,6 @@ matrix:
3547
language: cpp
3648
compiler: gcc
3749
os: linux
38-
dist: xenial
3950
addons:
4051
apt:
4152
packages:
@@ -49,7 +60,6 @@ matrix:
4960
language: cpp
5061
compiler: gcc
5162
os: linux
52-
dist: xenial
5363
addons:
5464
apt:
5565
packages:
@@ -59,54 +69,84 @@ matrix:
5969
- ubuntu-toolchain-r-test
6070
script: ./cppbuild/cppbuild
6171

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+
6298
- env: COMPILER=clang++-5.0
6399
language: cpp
64100
compiler: clang
65101
os: linux
66-
dist: xenial
67102
addons:
68103
apt:
69104
packages:
70105
- clang-5.0
71-
- libstdc++-7-dev
72106
- libsparsehash-dev
73107
sources:
74-
- ubuntu-toolchain-r-test
75108
- llvm-toolchain-xenial-5.0
76109
script: ./cppbuild/cppbuild
77110

78111
- env: COMPILER=clang++-6.0
79112
language: cpp
80113
compiler: clang
81114
os: linux
82-
dist: xenial
83115
addons:
84116
apt:
85117
packages:
86118
- clang-6.0
87-
- libstdc++-7-dev
88119
- libsparsehash-dev
89120
sources:
90-
- ubuntu-toolchain-r-test
91121
- llvm-toolchain-xenial-6.0
92122
script: ./cppbuild/cppbuild
93123

94124
- env: COMPILER=clang++-7
95125
language: cpp
96126
compiler: clang
97127
os: linux
98-
dist: xenial
99128
addons:
100129
apt:
101130
packages:
102131
- clang-7
103-
- libstdc++-7-dev
104132
- libsparsehash-dev
105133
sources:
106-
- ubuntu-toolchain-r-test
107134
- llvm-toolchain-xenial-7
108135
script: ./cppbuild/cppbuild
109136

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+
110150
- env: COMPILER=clang++
111151
language: c++
112152
compiler: clang

0 commit comments

Comments
 (0)