-
Notifications
You must be signed in to change notification settings - Fork 13
/
.travis.yml
46 lines (38 loc) · 943 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
42
43
44
45
46
language: cpp
sudo: false
compiler:
- gcc
env:
global:
- GTEST_SHUFFLE=1
matrix:
- COMPILER=g++-4.9 CCOMPILER=gcc-4.9
- COMPILER=g++-5 CCOMPILER=gcc-5
- COMPILER=clang++-3.6 CCOMPILER=clang-3.6
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise
- llvm-toolchain-precise-3.6
- llvm-toolchain-precise-3.7
packages:
- g++-4.9
- g++-5
- clang-3.6
- valgrind
- python-pip
- python-yaml
install:
- if [ "$COMPILER" == "g++-4.9" ]; then pip install --user git+git://github.com/eddyxu/cpp-coveralls.git; fi
before_script:
- export CXX=$COMPILER CC=$CCOMPILER
- cmake --version
- mkdir build
- cd build
- cmake -LAH ..
script:
- make VERBOSE=1
- ctest -V
after_success:
- if [ "$COMPILER" == "g++-4.9" ]; then coveralls -i 'include' -i 'test' --root ../ --verbose --gcov-options '\-lp' --gcov 'gcov-4.9'; fi