Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2019-09-05 16:56:12 +0300
committerSam Roberts <vieuxtech@gmail.com>2019-10-18 21:40:42 +0300
commitd594a9a79890b76e002fbc1c7aa2a3aaed82c160 (patch)
tree70d061f1ac0368b2e4ec6309de7530cd526c3d85 /.travis.yml
parentfa2ba05bcd11b9485e39bcfee62589a640817317 (diff)
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 <riclau@uk.ibm.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 2 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 93456573438..8aa321ec162 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"