diff --git a/.travis.yml b/.travis.yml index be30f0151..d522fcace 100644 --- a/.travis.yml +++ b/.travis.yml @@ -86,6 +86,11 @@ jobs: repo: pytest-dev/pytest before_script: + - | + # Do not (re-)upload coverage with cron runs. + if [[ "$TRAVIS_EVENT_TYPE" = cron ]]; then + PYTEST_COVERAGE=0 + fi - | if [[ "$PYTEST_COVERAGE" = 1 ]]; then export COVERAGE_FILE="$PWD/.coverage"