1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-23 00:07:38 +00:00

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

View file

@ -7,5 +7,7 @@ NO_COVERAGE_TOXENVS=(pep8)
if ! [[ "${NO_COVERAGE_TOXENVS[*]}" =~ "${TOXENV}" ]]; then if ! [[ "${NO_COVERAGE_TOXENVS[*]}" =~ "${TOXENV}" ]]; then
source ~/.venv/bin/activate source ~/.venv/bin/activate
ln .tox/.coverage .coverage 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 fi