From: Serhiy Storchaka Date: Wed, 8 Mar 2017 18:22:16 +0000 (+0200) Subject: Exit Travis when only Misc/* is changed. (#564) X-Git-Tag: v3.7.0a1~1172 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4a2ffce791ce18453adabcc1a2de29500f9a50aa;p=python Exit Travis when only Misc/* is changed. (#564) No need to wait passing tests after resolving Misc/NEWS conflicts. --- diff --git a/.travis.yml b/.travis.yml index 27b63c6c08..6c0b73ddc2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,7 +47,7 @@ matrix: - TESTING=coverage before_script: - | - if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.(rst|yml)$)|(^Doc)/' + if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.(rst|yml)$)|(^Doc)|(^Misc)/' then echo "Only docs were updated, stopping build process." exit @@ -77,7 +77,7 @@ matrix: # Travis provides only 2 cores, so don't overdue the parallelism and waste memory. before_script: - | - if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.(rst|yml)$)|(^Doc)/' + if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.(rst|yml)$)|(^Doc)|(^Misc)/' then echo "Only docs were updated, stopping build process." exit