From 1d2a387b9526ef5f4d694734d8022e739f7fd410 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 14 Dec 2017 00:51:45 +0100 Subject: 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. --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 031ba79..e624092 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` -- cgit v0.12