diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2020-05-16 22:13:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-16 21:13:45 -0500 |
commit | 1fcd120c32114aa96f89e307255c7c07a87419f8 (patch) | |
tree | 7c9c2a43952cacb98d38e271d6f63086b48222a9 | |
parent | cace5c40c7a58692b1c5cd8c40040123690af848 (diff) | |
download | cryptography-1fcd120c32114aa96f89e307255c7c07a87419f8.tar.gz cryptography-1fcd120c32114aa96f89e307255c7c07a87419f8.tar.bz2 cryptography-1fcd120c32114aa96f89e307255c7c07a87419f8.zip |
Use codecov-bash on travis (#5252)
-rwxr-xr-x | .travis/install.sh | 2 | ||||
-rwxr-xr-x | .travis/upload_coverage.sh | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/.travis/install.sh b/.travis/install.sh index 377da1d6..599eee0d 100755 --- a/.travis/install.sh +++ b/.travis/install.sh @@ -61,4 +61,4 @@ pip install virtualenv python -m virtualenv ~/.venv source ~/.venv/bin/activate # If we pin coverage it must be kept in sync with tox.ini and .github/workflows/ci.yml -pip install tox codecov coverage +pip install tox coverage diff --git a/.travis/upload_coverage.sh b/.travis/upload_coverage.sh index e29bc20f..7be892e3 100755 --- a/.travis/upload_coverage.sh +++ b/.travis/upload_coverage.sh @@ -12,8 +12,10 @@ if [ -n "${TOXENV}" ]; then docs);; *) source ~/.venv/bin/activate - codecov --required --env TRAVIS_OS_NAME,TOXENV,OPENSSL,DOCKER || \ - codecov --required --env TRAVIS_OS_NAME,TOXENV,OPENSSL,DOCKER + curl -o codecov.sh -f https://codecov.io/bash || curl -o codecov.sh -f https://codecov.io/bash || curl -o codecov.sh -f https://codecov.io/bash + + bash codecov.sh -Z -e TRAVIS_OS_NAME,TOXENV,OPENSSL,DOCKER || \ + bash codecov.sh -Z -e TRAVIS_OS_NAME,TOXENV,OPENSSL,DOCKER ;; esac fi |