From d594a9a79890b76e002fbc1c7aa2a3aaed82c160 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Thu, 5 Sep 2019 15:56:12 +0200 Subject: 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(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 9345657343..8aa321ec16 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" -- cgit v1.2.3