aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 7ec2e789..da916e3f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -74,7 +74,13 @@ script:
# Using the after_success block DOES NOT capture errors.
# Pull requests might break our build - we need to check this.
# Pull requests are not allowed to upload build artifacts - enforced by cibuild script.
- - tox -- --verbose --cov-report=term
+ - |
+ if [[ $TRAVIS_COMMIT_MESSAGE = *"[notest]"* ]]; then
+ echo "!!!! Skipping tests."
+ else
+ tox -- --verbose --cov-report=term
+ fi
+
- |
if [[ $CIBUILD == "1" ]]
then