mirror of https://github.com/python/cpython.git
bpo-32802: Fix Travis build (GH-5589)
Fix bug in travis configuration where it did not run the tests when a change includes both code and doc changes.
This commit is contained in:
parent
fc1ce810f1
commit
32921f9082
|
@ -97,7 +97,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