From ccf58835c70a2c70a7898980d574f89100c4b0fe Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Thu, 5 Sep 2019 15:56:12 +0200 Subject: [PATCH] build: use python3 to build and test on Travis Request Python 3 with pyenv and ensure that python3 is used by Makefile to run Python scripts. PR-URL: https://github.com/nodejs/node/pull/29451 Reviewed-By: Richard Lau Reviewed-By: Sam Roberts Reviewed-By: Rod Vagg --- .travis.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 93456573438b1c..8aa321ec1626d8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,13 +6,10 @@ x-ccache-setup-steps: &ccache-setup-steps os: linux language: cpp -# Currently this file can only support one PYTHON_VERSION. -# To experiment with Python 3, comment out Python 2.7 and uncomment one of the Python 3 versions. env: global: - - PYTHON_VERSION="2.7.15" - # - PYTHON_VERSION="3.6.7" - # - PYTHON_VERSION="3.7.1" + - PYTHON_VERSION="3.7.1" + - PYTHON=python3 jobs: include: - stage: "Compile"