-
Notifications
You must be signed in to change notification settings - Fork 135
/
.travis.yml
47 lines (39 loc) · 1.04 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
language: cpp
sudo: true
dist: trusty
git:
depth: 1
addons:
apt:
sources:
# newer gcc and clang
- ubuntu-toolchain-r-test
- sourceline: 'deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-4.0 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
- sourceline: 'deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-5.0 main'
packages:
- libz-dev
env:
- LLVM=3.8 BUILD_TYPE=Release
- LLVM=3.8 BUILD_TYPE=Debug
- LLVM=4.0 BUILD_TYPE=Release
- LLVM=4.0 BUILD_TYPE=Debug
- LLVM=5.0 BUILD_TYPE=Release
- LLVM=5.0 BUILD_TYPE=Debug
compiler:
- 'clang++'
- 'g++'
- 'g++-5'
install:
- git clone --depth 1 https://github.com/tomsik68/travis-llvm.git
- cd travis-llvm
- chmod +x travis-llvm.sh
- ./travis-llvm.sh ${LLVM}
- cd ..
script:
- cmake -DCMAKE_BUILD_TYPE="$BUILD_TYPE" -DUSE_SANITIZERS=ON .
- make -j2
# for now turn off the detection of leaks, we're working on it
- ASAN_OPTIONS=detect_leaks=0 make check -j2
notifications:
email: false