-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
98 lines (83 loc) · 2.69 KB
/
.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
dist: trusty
sudo: required
addon_shortcuts:
clang38: &clang38
apt:
sources:
- llvm-toolchain-trusty-3.8
- ubuntu-toolchain-r-test
- llvm-toolchain-precise
packages:
- clang-3.8
- libc++-dev
clang50: &clang50
apt:
sources:
- llvm-toolchain-trusty-5.0
- ubuntu-toolchain-r-test
- llvm-toolchain-precise
packages:
- clang-5.0
- libc++-dev
clang60: &clang60
apt:
sources:
- llvm-toolchain-trusty-6.0
- ubuntu-toolchain-r-test
- llvm-toolchain-precise
packages:
- clang-6.0
- libc++-dev
gcc48: &gcc48
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
gcc6: &gcc6
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
gcc7: &gcc7
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
gcc8: &gcc8
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-8
addons:
apt:
update: true
packages:
- cmake
before_install:
- curl -L http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
- echo 'deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.8 main' | sudo tee /etc/apt/sources.list
- chmod +x tests/build/cmake/run_tests.sh
matrix:
include:
- { env: 'STD=11 CXX=g++-4.8 CMAKEFLAGS="-fsanitize=address,memory,undefined,thread,leak -fuse-ld=gold"', addons: *gcc48 }
- { env: 'STD=11 CXX=g++-6 CMAKEFLAGS="-fsanitize=address,memory,undefined,thread,leak -fuse-ld=gold"', addons: *gcc6 }
- { env: 'STD=11 CXX=g++-6 CMAKEFLAGS=-DNO_DEPRECATED=YES', addons: *gcc6 }
- { env: 'STD=11 CXX=g++-7 CMAKEFLAGS=-fsanitize=address,memory,undefined,thread,leak', addons: *gcc7 }
- { env: 'STD=11 CXX=g++-7 CMAKEFLAGS=-DNO_DEPRECATED=YES', addons: *gcc7 }
- { env: 'STD=11 CXX=g++-8 CMAKEFLAGS=-fsanitize=address,memory,undefined,thread,leak', addons: *gcc8 }
- { env: 'STD=11 CXX=g++-8 CMAKEFLAGS=-DNO_DEPRECATED=YES', addons: *gcc8 }
- { env: 'STD=11 CXX=clang++-3.8 CMAKEFLAGS="-fsanitize=address,memory,undefined,thread,leak"', addons: *clang38 }
- { env: 'STD=11 CXX=clang++-5.0 CMAKEFLAGS="-fsanitize=address,memory,undefined,thread,leak"', addons: *clang50 }
- { env: 'STD=11 CXX=clang++-6.0 CMAKEFLAGS="-fsanitize=address,memory,undefined,thread,leak"', addons: *clang60 }
- { env: 'CXX=clang++', compiler: clang, os: osx, osx_image: xcode6.4, addons: *xcode64}
allow_failures:
- { env: 'CXX=clang++', compiler: clang, os: osx, osx_image: xcode6.4}
script:
- cd tests/build/cmake
- cmake $CMAKEFLAGS .
- make -j2
- ./run_tests.sh