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:
Miss Islington (bot) 2018-02-08 12:01:23 -08:00 committed by Mariatta
parent 7f95c8c319
commit fe92c44151
1 changed files with 1 additions and 1 deletions

View File

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