-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
41 lines (38 loc) · 1013 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
sudo: required
dist: bionic
language: cpp
os:
- linux
matrix:
include:
- os: linux
env: COMPILER=g++-5
addons:
apt:
packages:
- g++-5
sources:
- ubuntu-toolchain-r-test
- os: linux
env: COMPILER=g++-6
addons:
apt:
packages:
- g++-6
sources:
- ubuntu-toolchain-r-test
- os: linux
env: COMPILER=g++-7
addons:
apt:
packages:
- g++-7
sources:
- ubuntu-toolchain-r-test
before_script:
- wget http://releases.llvm.org/9.0.0/clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz -O /tmp/clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz
- tar -C /tmp -xvf /tmp/clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz
script:
cmake -DBUILD_TESTS=ON -DCMAKE_CXX_COMPILER=$COMPILER
-DLLVM_ROOT=/tmp/clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-18.04 .
&& make && make ARGS=--output-on-failure test