codecov: fixes for env vars and osx

This commit is contained in:
Thomas Waldmann 2015-08-08 19:22:25 +02:00
parent a9027a033d
commit 60e34968b0
1 changed files with 3 additions and 1 deletions

View File

@ -7,5 +7,7 @@ NO_COVERAGE_TOXENVS=(pep8)
if ! [[ "${NO_COVERAGE_TOXENVS[*]}" =~ "${TOXENV}" ]]; then
source ~/.venv/bin/activate
ln .tox/.coverage .coverage
codecov -e TRAVIS_OS_NAME,TOXENV
# on osx, tests run as root, need access to .coverage
sudo chmod 666 .coverage
codecov -e TRAVIS_OS_NAME TOXENV
fi