Skip to content

Commit

Permalink
codecov: fixes for env vars and osx
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasWaldmann committed Aug 8, 2015
1 parent a9027a0 commit 60e3496
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis/upload_coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 60e3496

Please sign in to comment.