diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2017-03-08 20:22:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-08 20:22:16 +0200 |
commit | 4a2ffce791ce18453adabcc1a2de29500f9a50aa (patch) | |
tree | b614541fd7b9f8b69508af5a5b6d69c005118959 /.travis.yml | |
parent | bpo-29645: Speed up importing the webbrowser module. (#484) (diff) | |
download | cpython-4a2ffce791ce18453adabcc1a2de29500f9a50aa.tar.gz cpython-4a2ffce791ce18453adabcc1a2de29500f9a50aa.tar.bz2 cpython-4a2ffce791ce18453adabcc1a2de29500f9a50aa.zip |
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.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 27b63c6c08b..6c0b73ddc21 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 |