mirror of
https://github.com/python/cpython.git
synced 2025-09-28 11:15:17 +00:00
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:
parent
4a97809a38
commit
1d2a387b95
1 changed files with 4 additions and 2 deletions
|
@ -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`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue