-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
37 lines (31 loc) · 879 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
language: cpp
os: osx
compiler:
- gcc
- clang
addons:
brew:
packages: lcov
before_install:
- git clone https://github.com/eigenteam/eigen-git-mirror.git
- cd eigen-git-mirror/
- mkdir build
- cd build
- cmake ..
- sudo make install
- cd ./../..
before_script:
- mkdir build
- cd build
- cmake .. -DENABLE_TESTS=ON -DENABLE_EMSCRIPTEN=OFF -DENABLE_PYTHON=OFF -DENABLE_JAVA=OFF
script:
- make
- sudo make install
- ctest -V
after_success:
- cd ${TRAVIS_BUILD_DIR}
- lcov --directory . --capture --output-file coverage.info # capture coverage info
- lcov --remove coverage.info '/usr/*' --output-file coverage.info # filter out system
- lcov --list coverage.info #debug info
# Uploading report to CodeCov
- bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"