Skip to content

Commit

Permalink
modify upload_coverage to handle pypy-nocoverage properly
Browse files Browse the repository at this point in the history
  • Loading branch information
reaperhulk committed Jan 5, 2016
1 parent f9654fc commit 11f9f13
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .travis/upload_coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
set -e
set -x

NO_COVERAGE_TOXENVS=(pypy-nocoverage pep8 py3pep8 docs)
if ! [[ "${NO_COVERAGE_TOXENVS[*]}" =~ "${TOXENV}" ]]; then
source ~/.venv/bin/activate
codecov --env TRAVIS_OS_NAME,TOXENV,OPENSSL
fi
case "${TOXENV}" in
pypy-nocoverage);;
pep8);;
py3pep8);;
docs);;
*)
source ~/.venv/bin/activate
codecov --env TRAVIS_OS_NAME,TOXENV,OPENSSL
;;
esac

0 comments on commit 11f9f13

Please sign in to comment.