summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-02-08 11:42:47 -0800
committerMariatta <Mariatta@users.noreply.github.com>2018-02-08 11:42:46 -0800
commitad3997c592ee9b75fdcd44a0eaa51d748a2e2394 (patch)
tree0cf2501ced2d87e0816dd684e9ab8a2719f534c4 /.travis.yml
parenta747cf6d9b87ea8c7ce3a42d09e5b966c8e83fa0 (diff)
downloadcpython-git-ad3997c592ee9b75fdcd44a0eaa51d748a2e2394.tar.gz
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 32921f90821ab54ffb757b7e996e5b7a71fac25e) Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index d7387e5f98..98d6b9a97b 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