mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-27 18:28:42 +00:00
13 lines
306 B
Bash
Executable file
13 lines
306 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
NO_COVERAGE_TOXENVS=(pep8)
|
|
if ! [[ "${NO_COVERAGE_TOXENVS[*]}" =~ "${TOXENV}" ]]; then
|
|
source ~/.venv/bin/activate
|
|
ln .tox/.coverage .coverage
|
|
# on osx, tests run as root, need access to .coverage
|
|
sudo chmod 666 .coverage
|
|
codecov -e TRAVIS_OS_NAME TOXENV
|
|
fi
|