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:
parent
a9027a033d
commit
60e34968b0
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue