From ad3997c592ee9b75fdcd44a0eaa51d748a2e2394 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Thu, 8 Feb 2018 11:42:47 -0800 Subject: [PATCH] bpo-32802: Fix Travis build (GH-5589) (GH-5590) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d7387e5f983..98d6b9a97b9 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