mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Exit Travis when only Misc/* is changed. (#564)
No need to wait passing tests after resolving Misc/NEWS conflicts.
This commit is contained in:
parent
a7cba27aea
commit
4a2ffce791
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue