diff options
author | Hynek Schlawack <hs@ox.cx> | 2015-09-05 10:12:18 +0200 |
---|---|---|
committer | Hynek Schlawack <hs@ox.cx> | 2015-09-05 10:12:18 +0200 |
commit | 423455862a741b9401fb34215dcb0ec596a1153b (patch) | |
tree | 1fd09c31da2ae1c24035765d82964ce95b83d5cf /.travis | |
parent | d73a955d0d2a2c1e30e239617121166d9f42f569 (diff) | |
download | pyopenssl-git-423455862a741b9401fb34215dcb0ec596a1153b.tar.gz |
Don't try to upload coverage from coverage-less jobs
We're getting a lot of emails from codecov. This should stop it.
Diffstat (limited to '.travis')
-rwxr-xr-x | .travis/upload_coverage.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.travis/upload_coverage.sh b/.travis/upload_coverage.sh new file mode 100755 index 0000000..21026d3 --- /dev/null +++ b/.travis/upload_coverage.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +set -e +set -x + +NO_COVERAGE_TOXENVS=(pypy docs check-manifest pypi-readme flake8 pyroma) +if ! [[ "${NO_COVERAGE_TOXENVS[*]}" =~ "${TOXENV}" ]]; then + source ~/.venv/bin/activate + bash <(curl -s https://codecov.io/bash) -e TRAVIS_OS_NAME,TOXENV,OPENSSL +fi |