-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
57 lines (49 loc) · 1.24 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
language: cpp
dist: xenial
sudo: required
git:
submodules: true
depth: 3
matrix:
include:
- os: linux
compiler: gcc
addons:
apt:
packages: ['python-pip', 'python-yaml']
install:
- pip install --user cpp-coveralls
script:
- mkdir build && cd build
- cmake -DGCOV_SUPPORT=On ..
- cmake --build .
- cd ../
- ./build/hoatest
after_success:
- coveralls -e build/CMakeFiles/feature_tests.cxx -e build/CMakeFiles/feature_tests.c -e build/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.cpp -e build/CMakeFiles/CompilerIdCXX/CMakeCXXCompilerId.c -e build/CMakeFiles/3.2.2/CompilerIdCXX/CMakeCXXCompilerId.cpp -e build/CMakeFiles/3.2.2/CompilerIdC/CMakeCCompilerId.c -e Tests --gcov-options '\-lp'
env:
- Coveralls
- os: linux
compiler: gcc
env:
- Libs and Tests
- os: linux
compiler: clang
env:
- Libs and Tests
- os: osx
compiler: gcc
env:
- Libs and Tests
- os: osx
compiler: clang
env:
- Libs and Tests
script:
- mkdir build && cd build
- cmake ..
- cmake --build .
- cd ../
- ./build/hoatest
notifications:
email: true