Skip to content

Commit ac298e5

Browse files
author
Erik Rigtorp
committed
Add travis-ci integration
1 parent c450f44 commit ac298e5

File tree

1 file changed

+103
-0
lines changed

1 file changed

+103
-0
lines changed

.travis.yml

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
language: cpp
2+
3+
sudo: false
4+
5+
matrix:
6+
include:
7+
8+
# clang-4
9+
- env: COMPILER=clang++-4.0
10+
compiler: clang
11+
os: linux
12+
addons:
13+
apt:
14+
packages:
15+
- clang-4.0
16+
- libstdc++-6-dev
17+
- libsparsehash-dev
18+
sources:
19+
- ubuntu-toolchain-r-test
20+
- llvm-toolchain-trusty-4.0
21+
22+
# clang-5
23+
- env: COMPILER=clang++-5.0
24+
compiler: clang
25+
os: linux
26+
addons:
27+
apt:
28+
packages:
29+
- clang-5.0
30+
- libstdc++-7-dev
31+
- libsparsehash-dev
32+
sources:
33+
- ubuntu-toolchain-r-test
34+
- llvm-toolchain-trusty-5.0
35+
36+
# clang-6
37+
- env: COMPILER=clang++-6.0
38+
compiler: clang
39+
os: linux
40+
addons:
41+
apt:
42+
packages:
43+
- clang-6.0
44+
- libstdc++-7-dev
45+
- libsparsehash-dev
46+
sources:
47+
- ubuntu-toolchain-r-test
48+
- llvm-toolchain-trusty-6.0
49+
50+
# gcc-5
51+
- env: COMPILER=g++-5
52+
compiler: gcc
53+
os: linux
54+
addons:
55+
apt:
56+
packages:
57+
- g++-5
58+
- libsparsehash-dev
59+
sources:
60+
- ubuntu-toolchain-r-test
61+
62+
# gcc-6
63+
- env: COMPILER=g++-6
64+
compiler: gcc
65+
os: linux
66+
addons:
67+
apt:
68+
packages:
69+
- g++-6
70+
- libsparsehash-dev
71+
sources:
72+
- ubuntu-toolchain-r-test
73+
74+
# gcc-7
75+
- env: COMPILER=g++-7
76+
compiler: gcc
77+
os: linux
78+
addons:
79+
apt:
80+
packages:
81+
- g++-7
82+
- libsparsehash-dev
83+
sources:
84+
- ubuntu-toolchain-r-test
85+
86+
# gcc-8
87+
- env: COMPILER=g++-8
88+
compiler: gcc
89+
os: linux
90+
addons:
91+
apt:
92+
packages:
93+
- g++-8
94+
- libsparsehash-dev
95+
sources:
96+
- ubuntu-toolchain-r-test
97+
98+
before_script:
99+
- export CXX=$COMPILER
100+
- ./gradlew
101+
102+
script:
103+
- ./cppbuild/cppbuild

0 commit comments

Comments
 (0)