From c4d148304ccb2be124a9e769d89d1d87f3739fb7 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 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d231359bb..aee0b96a3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,8 +37,11 @@ script: - tox after_success: - - pip install codecov - - codecov + # Upload coverage information for py* tox environments. + - | + if [ "${TOXENV#py}" != "$TOXENV" ]; then + bash <(curl -s https://codecov.io/bash) -Z -F "${TOXENV//-/,}" + fi branches: only: