mirror of
https://github.com/python/cpython.git
synced 2025-11-13 07:26:31 +00:00
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:
parent
6ea4186de3
commit
3f8f16d102
4 changed files with 138 additions and 136 deletions
|
|
@ -80,9 +80,11 @@ before_script:
|
||||||
./configure --with-pydebug
|
./configure --with-pydebug
|
||||||
make -j4
|
make -j4
|
||||||
make -j4 regen-all clinic
|
make -j4 regen-all clinic
|
||||||
if ! test -z "`git status --porcelain`"
|
changes=`git status --porcelain`
|
||||||
|
if ! test -z "$changes"
|
||||||
then
|
then
|
||||||
echo "Generated files not up to date"
|
echo "Generated files not up to date"
|
||||||
|
echo "$changes"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue