From: Victor Stinner Date: Wed, 13 Dec 2017 23:51:45 +0000 (+0100) Subject: bpo-32316: Travis CI: use PYTHON_FOR_REGEN=python3 (#4853) X-Git-Tag: v3.6.5rc1~208 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1d2a387b9526ef5f4d694734d8022e739f7fd410;p=python 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. --- diff --git a/.travis.yml b/.travis.yml index 031ba792cb..e624092bba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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`