Skip to content

Commit

Permalink
travis: try to use lcov to be able to filter out some lines
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthieuDartiailh committed Oct 29, 2018
1 parent 1be47c0 commit 52bea54
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ dist: xenial
sudo: required
cache: pip

addons:
apt:
packages:
- lcov

branches:
only:
- master
Expand Down Expand Up @@ -35,4 +40,7 @@ install:
script:
- py.test py/tests
after_success:
- 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
- bash <(curl -s https://codecov.io/bash)

0 comments on commit 52bea54

Please sign in to comment.