]> granicus.if.org Git - python/commitdiff
bpo-32802: Fix Travis build (GH-5589)
authorStéphane Wirtel <stephane@wirtel.be>
Thu, 8 Feb 2018 19:14:59 +0000 (20:14 +0100)
committerMariatta <Mariatta@users.noreply.github.com>
Thu, 8 Feb 2018 19:14:59 +0000 (11:14 -0800)
Fix bug in travis configuration where it did not run the tests when
a change includes both code and doc changes.

.travis.yml

index d7387e5f9831b2d79a9add3e6f505a681d7381c7..98d6b9a97b9bf8dac9e17d41da6c4c924f9df16f 100644 (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