1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-26 17:57:59 +00:00
borg/.travis/upload_coverage.sh

13 lines
272 B
Bash
Raw Normal View History

2015-08-07 13:17:07 +00:00
#!/bin/bash
set -e
set -x
NO_COVERAGE_TOXENVS=(pep8)
if ! [[ "${NO_COVERAGE_TOXENVS[*]}" =~ ${TOXENV} ]]; then
2015-08-07 13:17:07 +00:00
source ~/.venv/bin/activate
2015-08-08 17:22:25 +00:00
# on osx, tests run as root, need access to .coverage
sudo chmod 666 .coverage
codecov -e TRAVIS_OS_NAME TOXENV
2015-08-07 13:17:07 +00:00
fi