diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-03-08 18:22:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-08 18:22:16 (GMT) |
commit | 4a2ffce791ce18453adabcc1a2de29500f9a50aa (patch) | |
tree | b614541fd7b9f8b69508af5a5b6d69c005118959 | |
parent | a7cba27aea138311117e2ab1d91584efcfeac4ec (diff) | |
download | cpython-4a2ffce791ce18453adabcc1a2de29500f9a50aa.zip cpython-4a2ffce791ce18453adabcc1a2de29500f9a50aa.tar.gz cpython-4a2ffce791ce18453adabcc1a2de29500f9a50aa.tar.bz2 |
Exit Travis when only Misc/* is changed. (#564)
No need to wait passing tests after resolving Misc/NEWS conflicts.
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 27b63c6..6c0b73d 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 |