https://github.com/python/cpython/commit/fe92c441519d0c4fc93bb98fc1bb4e225dea44c4 commit: fe92c441519d0c4fc93bb98fc1bb4e225dea44c4 branch: 3.6 author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com> committer: Mariatta <Mariatta at users.noreply.github.com> date: 2018年02月08日T12:01:23-08:00 summary: bpo-32802: Fix Travis build (GH-5589) (GH-5591) 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 at wirtel.be> files: M .travis.yml diff --git a/.travis.yml b/.travis.yml index d568534929ad..222d6f80be4a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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