bpo-32316: Travis CI: use PYTHON_FOR_REGEN=python3 (#4853)

"make regen-all" requires a working python3.6 or python3. Without
"python: 3.6", Travis CI provides a "python3.6" script which ony
write an error.

Use "python3" instead.
This commit is contained in:
Victor Stinner 2017-12-14 00:51:45 +01:00 committed by GitHub
parent 4a97809a38
commit 1d2a387b95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,8 @@ matrix:
echo "Only docs were updated, stopping build process."
exit
fi
./configure
# Build in release mode
./configure PYTHON_FOR_REGEN=python3
make -s -j4
# Need a venv that can parse covered code.
./python -m venv venv
@ -70,7 +71,8 @@ before_script:
echo "Only docs were updated, stopping build process."
exit
fi
./configure --with-pydebug
# Build in debug mode
./configure --with-pydebug PYTHON_FOR_REGEN=python3
make -j4
make -j4 regen-all clinic
changes=`git status --porcelain`