-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
62 lines (53 loc) · 1.31 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
language: cpp
os: linux
dist: trusty
branches:
only:
- master
script:
- mkdir build
- cd build
- cmake .. && make -j check && ../ut/check.sh ut_ctstring
install:
- export CXX="$COMPILER"
- export CC=`echo $COMPILER | sed -e 's/^g++/gcc/' -e 's/^clang++/clang/'`
matrix:
include:
- compiler: gcc
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-6']
env:
- COMPILER=g++-6
- compiler: gcc
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-7']
env:
- COMPILER=g++-7
- compiler: clang
addons:
apt:
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-4.0']
packages: ['g++-7', 'clang-4.0']
env:
- COMPILER=clang++-4.0
- compiler: gcc
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-7']
env:
- COMPILER=g++-7
- BUILD_FLAGS="-g -O0"
- CXXFLAGS="--coverage"
before_install:
- pip install --user cpp-coveralls
script:
- cmake . && make VERBOSE=1 -j check
after_success:
- coveralls --verbose --exclude-pattern '.*/CMakeFiles/.*' --gcov gcov-7 --gcov-options '\-lp'
notifications:
email: false