Skip to content

Commit

Permalink
MNT: Explicitly point CodeCov to our coverage.xml
Browse files Browse the repository at this point in the history
This way we only generate the XML once and avoid it detecting any
spurious files.
  • Loading branch information
dopplershift committed Oct 29, 2019
1 parent 7d50191 commit 432d288
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 @@ -150,8 +150,8 @@ script:
after_script:
- if [[ $TASK == "coverage" ]]; then
pip install codecov codacy-coverage;
codecov -e TRAVIS_PYTHON_VERSION;
coverage xml;
codecov -f coverage.xml -e TRAVIS_PYTHON_VERSION;
python-codacy-coverage -r coverage.xml;
./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT;
fi
Expand Down

0 comments on commit 432d288

Please sign in to comment.