summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2017-06-11 04:04:36 (GMT)
committerGitHub <noreply@github.com>2017-06-11 04:04:36 (GMT)
commit3f8f16d102c985cba827bb52b1d1bb714325d5a4 (patch)
tree608dd780ce72daa52a86d607516a5b0d777e5861 /.travis.yml
parent6ea4186de32d65b1f1dc1533b6312b798d300466 (diff)
downloadcpython-3f8f16d102c985cba827bb52b1d1bb714325d5a4.zip
cpython-3f8f16d102c985cba827bb52b1d1bb714325d5a4.tar.gz
cpython-3f8f16d102c985cba827bb52b1d1bb714325d5a4.tar.bz2
Show what's changed when Travis fails regen check (GH-2095)
Also fixed a few more line endings that were missed in GH-840, which were causing failure.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 5f9a38a..d30de21 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -80,9 +80,11 @@ before_script:
./configure --with-pydebug
make -j4
make -j4 regen-all clinic
- if ! test -z "`git status --porcelain`"
+ changes=`git status --porcelain`
+ if ! test -z "$changes"
then
echo "Generated files not up to date"
+ echo "$changes"
exit 1
fi