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

fix .coverage processing

This commit is contained in:
Thomas Waldmann 2016-08-22 01:15:03 +02:00
parent 3f5f27fbfe
commit 85311f0116

View file

@ -6,7 +6,6 @@ set -x
NO_COVERAGE_TOXENVS=(pep8) 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
# on osx, tests run as root, need access to .coverage # on osx, tests run as root, need access to .coverage
sudo chmod 666 .coverage sudo chmod 666 .coverage
codecov -e TRAVIS_OS_NAME TOXENV codecov -e TRAVIS_OS_NAME TOXENV