Skip to content

Commit

Permalink
Minor improvement of codecov upload: only use the relevant report.
Browse files Browse the repository at this point in the history
The reports which are generated as side-products during the usage of lcov are now ignored.
  • Loading branch information
GPMueller committed Jan 24, 2018
1 parent cc7650a commit 953b3f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ script:
- if [ "$COVERAGE" == "true" ]; then lcov -c --no-external --directory . --base-directory ../core -o after_test.info; fi
- if [ "$COVERAGE" == "true" ]; then lcov -a baseline.info -a after_test.info -o total_test.info; fi
- if [ "$COVERAGE" == "true" ]; then lcov -r total_test.info \*thirdparty\* \*/test/\* -o coverage.info; fi
- if [ "$COVERAGE" == "true" ]; then bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"; fi
- if [ "$COVERAGE" == "true" ]; then bash <(curl -s https://codecov.io/bash) -f coverage.info || echo "Codecov did not collect coverage reports"; fi

# Run Python coverage report generation and upload to coveralls
- cd ../core/python
Expand Down

0 comments on commit 953b3f7

Please sign in to comment.