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:
Miss Islington (bot) 2018-02-08 11:42:47 -08:00 committed by Mariatta
parent a747cf6d9b
commit ad3997c592
1 changed files with 1 additions and 1 deletions

View File

@ -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