Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
phuschke committed Jul 10, 2017
1 parent bcc493c commit 335d399
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ script:
- docker exec build cmake -H/project -B/build
- docker exec build cmake --build /build
- docker exec build cmake --build /build --target test
- pwd
- ls -l
- docker exec build lcov --directory /build --capture --output-file coverage.info
- docker exec build lcov --remove coverage.info '/usr/*' --output-file coverage.info
- docker exec build lcov --remove coverage.info 'test/catch.hpp' --output-file coverage.info
- docker exec build bash <(curl -s https://codecov.io/bash)
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Debug ..
Expand All @@ -42,5 +43,3 @@ after_success:
- lcov --remove coverage.info '/usr/*' --output-file coverage.info # filter out system
- lcov --remove coverage.info 'test/catch.hpp' --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"

0 comments on commit 335d399

Please sign in to comment.