mirror of
https://github.com/python/cpython.git
synced 2025-09-28 19:25:27 +00:00
bpo-32802: Fix Travis build (GH-5589) (GH-5591)
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
7f95c8c319
commit
fe92c44151
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,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