Skip to content

Commit

Permalink
CI: Add branch coverage to coverage score.
Browse files Browse the repository at this point in the history
Previously the coverage only included line coverage.
  • Loading branch information
tlsa committed May 9, 2018
1 parent 33a81b6 commit a602353
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Expand Up @@ -10,7 +10,7 @@ matrix:
sources:
- ubuntu-toolchain-r-test
packages:
- gcovr
- python-pip
env:
- BUILD_TYPE=Coverage
before_install:
Expand All @@ -21,8 +21,8 @@ script:
- make valgrind-quiet
- |
if [[ "${BUILD_TYPE}" == "Coverage" ]]; then
sudo pip install gcovr;
make coverage;
rm build/coverage.xml
bash <(curl -s https://codecov.io/bash) -g "*test*";
find build/coverage -name "*.gc*" -type f -delete;
bash <(curl -s https://codecov.io/bash) -X search -f build/coverage.xml;
fi

0 comments on commit a602353

Please sign in to comment.