-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
42 lines (38 loc) · 1.06 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
language: c
dist: trusty
sudo: required
notifications:
email: false
git:
submodules: true
depth: 3
matrix:
include:
- os: linux
compiler: gcc
addons:
apt:
packages: ['python-pip', 'python-yaml']
before_script:
- pip install --user git+git://github.com/eddyxu/cpp-coveralls.git
script:
- mkdir build
- cd build
- cmake -DGCOV_SUPPORT=ON ..
- cmake --build .
- ctest .
- cd ../
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 -e pd -e publications -e docs --gcov-options '\-lp'
- os: linux
compiler: clang
- os: osx
compiler: gcc
- os: osx
compiler: clang
script:
- mkdir build
- cd build
- cmake ..
- cmake --build .
- ctest .