summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml7
1 files changed, 3 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 5b92f622b6..61b829a9c5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -149,10 +149,9 @@ before_script:
#=============================================================================
# Building
#=============================================================================
-script: share/spack/qa/run-$TEST_SUITE-tests
-
-after_success:
- - codecov --env PY_VERSION
+script:
+ - share/spack/qa/run-$TEST_SUITE-tests
+ - if [[ "$COVERAGE" == "true" ]]; then codecov --env PY_VERSION --required ; fi
#=============================================================================
# Notifications