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
|
@ -80,7 +80,7 @@ before_script:
|
|||
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
|
||||
echo "Only docs were updated, stopping build process."
|
||||
exit
|
||||
|
|
Loading…
Reference in New Issue