Skip to content

Commit

Permalink
MNT: Fix typo in Travis config for uploading coverage
Browse files Browse the repository at this point in the history
Was accidentally trying to upload coverage only when we ran without it.
  • Loading branch information
dopplershift committed Oct 2, 2020
1 parent 661e651 commit 011f45a
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 @@ -88,7 +88,7 @@ script:
fi

after_script:
- if [[ $TASK != "coverage" ]]; then
- if [[ $TASK == "coverage" ]]; then
pip install codecov codacy-coverage;
coverage xml;
codecov -X gcov -f coverage.xml -e TRAVIS_PYTHON_VERSION;
Expand Down

0 comments on commit 011f45a

Please sign in to comment.