Skip to content

Commit 739f9a4

Browse files
committed
Travis: use codecov-bash
Faster to install and will retry uploads on connection errors.
1 parent 93224f8 commit 739f9a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@ after_success:
9494
- |
9595
if [[ "$PYTEST_NO_COVERAGE" != 1 ]]; then
9696
set -e
97-
pip install codecov
97+
pip install coverage
9898
coverage combine
9999
coverage xml --ignore-errors
100100
coverage report -m --ignore-errors
101-
codecov --required -X gcov pycov search -f coverage.xml --flags ${TOXENV//-/ } linux
101+
bash <(curl -s https://codecov.io/bash) -Z -X gcov -X coveragepy -X search -X xcode -X gcovout -X fix -f coverage.xml -F "${TOXENV//-/,},linux"
102102
103103
# Coveralls does not support merged reports.
104104
if [[ "$TOXENV" = py37 ]]; then

0 commit comments

Comments
 (0)