Skip to content

Commit

Permalink
Travis: use codecov-bash
Browse files Browse the repository at this point in the history
More lightweight to install, and will retry on upload failures.
  • Loading branch information
blueyed committed Nov 14, 2018
1 parent 6635ace commit cef999a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,12 @@ script:
- tox

after_success:
- pip install codecov
- codecov
# Upload coverage information for py* tox environments.
- |
if [ "${TOXENV#py}" != "$TOXENV" ]; then
.tox/$TOXENV/bin/coverage xml
bash <(curl -s https://codecov.io/bash) -Z -X gcov -X coveragepy -X search -X xcode -X fix -f coverage.xml -F "${TOXENV//-/,}"
fi
branches:
only:
Expand Down

0 comments on commit cef999a

Please sign in to comment.