Skip to content

Commit

Permalink
bpo-32802: Fix Travis build (pythonGH-5589)
Browse files Browse the repository at this point in the history
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 32921f9)

Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
  • Loading branch information
matrixise authored and miss-islington committed Feb 8, 2018
1 parent a747cf6 commit 0499a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0499a16

Please sign in to comment.