From 739f9a4a4b0ae2efe105f3a6561088dac5096941 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Mon, 17 Sep 2018 12:40:12 +0200 Subject: [PATCH] Travis: use codecov-bash Faster to install and will retry uploads on connection errors. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6f00324ed..dd7529d20 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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