Travis: use codecov-bash

Faster to install and will retry uploads on connection errors.
This commit is contained in:
Daniel Hahler 2018-09-17 12:40:12 +02:00
parent 93224f8cf9
commit 739f9a4a4b
1 changed files with 2 additions and 2 deletions

View File

@ -94,11 +94,11 @@ after_success:
- |
if [[ "$PYTEST_NO_COVERAGE" != 1 ]]; then
set -e
pip install codecov
pip install coverage
coverage combine
coverage xml --ignore-errors
coverage report -m --ignore-errors
codecov --required -X gcov pycov search -f coverage.xml --flags ${TOXENV//-/ } linux
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"
# Coveralls does not support merged reports.
if [[ "$TOXENV" = py37 ]]; then