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.
This commit is contained in:
Zachary Ware 2017-06-10 23:04:36 -05:00 committed by GitHub
parent 6ea4186de3
commit 3f8f16d102
4 changed files with 138 additions and 136 deletions

View file

@ -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