]> granicus.if.org Git - python/commitdiff
bpo-32802: Fix Travis build (GH-5589) (GH-5591)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 8 Feb 2018 20:01:23 +0000 (12:01 -0800)
committerMariatta <Mariatta@users.noreply.github.com>
Thu, 8 Feb 2018 20:01:23 +0000 (12:01 -0800)
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 32921f90821ab54ffb757b7e996e5b7a71fac25e)

Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
.travis.yml

index d568534929ad7c051f9c11dfca5b8190c13037b8..222d6f80be4a4434fdb4aaa9cce5434cb645f35c 100644 (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