diff --git a/.travis.yml b/.travis.yml index 9616a0818aa..7cfc4068a16 100644 --- a/.travis.yml +++ b/.travis.yml @@ -103,8 +103,8 @@ after_success: # Add last TOXENV to $PATH. PATH="$PWD/.tox/${TOXENV##*,}/bin:$PATH" coverage combine - coverage xml --ignore-errors - coverage report -m --ignore-errors + coverage xml + coverage report -m bash <(curl -s https://codecov.io/bash) -Z -X gcov -X coveragepy -X search -X xcode -X gcovout -X fix -f coverage.xml -F $TRAVIS_OS_NAME fi diff --git a/scripts/upload-coverage.bat b/scripts/upload-coverage.bat index b51d4060fb3..60fa825e6e1 100644 --- a/scripts/upload-coverage.bat +++ b/scripts/upload-coverage.bat @@ -8,8 +8,8 @@ if not defined PYTEST_NO_COVERAGE ( ) python -m pip install codecov coverage combine - coverage xml --ignore-errors - coverage report -m --ignore-errors + coverage xml + coverage report -m scripts\retry codecov --required -X gcov pycov search -f coverage.xml --flags windows ) else ( echo Skipping coverage upload, PYTEST_NO_COVERAGE is set