From: Stéphane Wirtel Date: Thu, 8 Feb 2018 19:14:59 +0000 (+0100) Subject: bpo-32802: Fix Travis build (GH-5589) X-Git-Tag: v3.8.0a1~2254 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=32921f90821ab54ffb757b7e996e5b7a71fac25e;p=thirdparty%2FPython%2Fcpython.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. --- diff --git a/.travis.yml b/.travis.yml index d7387e5f9831..98d6b9a97b9b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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