From 796bfead122d1438a8a93cb6e5b4ce32225f933a Mon Sep 17 00:00:00 2001 From: Stephane Wirtel Date: Thu, 8 Feb 2018 19:46:44 +0100 Subject: [PATCH] bpo-32802: Travis does not compile Python if there is one change in the documentation Fix the detection of the modified files in Travis --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d7387e5f9831b2..98d6b9a97b9bf8 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