-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
66 lines (60 loc) · 1.55 KB
/
.travis.yml
File metadata and controls
66 lines (60 loc) · 1.55 KB
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
language: cpp
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-6.0
- sourceline: 'ppa:george-edison55/cmake-3.x'
packages:
- g++-7
- gcc-7
- clang-6.0
- cmake
matrix:
include:
- compiler: gcc
env:
- CC_USED=gcc-7
- CXX_USED=g++-7
- GCOV_USED=gcov-7
- CMAKE_FLAGS="-DCMAKE_BUILD_TYPE=COVERAGE"
install:
- pip install --user urllib3[secure] cpp-coveralls
after_success:
- which $GCOV_USED
- coveralls --gcov $(which $GCOV_USED) --include include --gcov-options '\-lmpcu' --root .. --build-root .
- compiler: clang
env:
- CC_USED=clang-6.0
- CXX_USED=clang++-6.0
- CMAKE_FLAGS=-DCMAKE_BUILD_TYPE=Release
- compiler: clang-debug
env:
- CC_USED=clang-6.0
- CXX_USED=clang++-6.0
- CMAKE_FLAGS=-DCMAKE_BUILD_TYPE=Debug
- compiler: clang-asan
sudo: true
env:
- CC_USED=clang-6.0
- CXX_USED=clang++-6.0
- CMAKE_FLAGS=-DCMAKE_BUILD_TYPE=SANITIZE
- LSAN_OPTIONS=verbosity=1:log_threads=1
- compiler: clang-ubsan
sudo: true
env:
- CC_USED=clang-6.0
- CXX_USED=clang++-6.0
- CMAKE_FLAGS=-DCMAKE_BUILD_TYPE=UBSAN
before_script:
- git submodule init
- git submodule update
- mkdir build
- cd build
- export CC=$CC_USED
- export CXX=$CXX_USED
- $CC --version
- $CXX --version
- cmake ../ $CMAKE_FLAGS
script:
- CTEST_OUTPUT_ON_FAILURE=TRUE make all test