mirror of
https://github.com/python/cpython.git
synced 2025-10-01 04:42:10 +00:00
bpo-32802: Fix Travis build (GH-5589) (GH-5590)
Fix bug in travis configuration where it did not run the tests when
a change includes both code and doc changes.
(cherry picked from commit 32921f9082
)
Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
This commit is contained in:
parent
a747cf6d9b
commit
ad3997c592
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ before_script:
|
||||||
echo "Files changed: "
|
echo "Files changed: "
|
||||||
echo $files_changed
|
echo $files_changed
|
||||||
|
|
||||||
if ! echo $files_changed | grep -qvE '(\.rst$)|(^Doc)|(^Misc)'
|
if ! echo "$files_changed" | grep -qvE '(\.rst$)|(^Doc)|(^Misc)'
|
||||||
then
|
then
|
||||||
echo "Only docs were updated, stopping build process."
|
echo "Only docs were updated, stopping build process."
|
||||||
exit
|
exit
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue