summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-03-08 20:22:16 +0200
committerGitHub <noreply@github.com>2017-03-08 20:22:16 +0200
commit4a2ffce791ce18453adabcc1a2de29500f9a50aa (patch)
treeb614541fd7b9f8b69508af5a5b6d69c005118959 /.travis.yml
parenta7cba27aea138311117e2ab1d91584efcfeac4ec (diff)
downloadcpython-git-4a2ffce791ce18453adabcc1a2de29500f9a50aa.tar.gz
Exit Travis when only Misc/* is changed. (#564)
No need to wait passing tests after resolving Misc/NEWS conflicts.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 2 insertions, 2 deletions
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