From cef999aa174c8de52a72c851d6748493bb08eb0a Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Wed, 14 Nov 2018 09:18:36 +0100 Subject: [PATCH] Travis: use codecov-bash More lightweight to install, and will retry on upload failures. --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d231359bb..2b34a9d50 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: