summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2019-09-05 15:56:12 +0200
committerSam Roberts <vieuxtech@gmail.com>2019-10-18 11:40:42 -0700
commitd594a9a79890b76e002fbc1c7aa2a3aaed82c160 (patch)
tree70d061f1ac0368b2e4ec6309de7530cd526c3d85 /.travis.yml
parentfa2ba05bcd11b9485e39bcfee62589a640817317 (diff)
downloadandroid-node-v8-d594a9a79890b76e002fbc1c7aa2a3aaed82c160.tar.gz
android-node-v8-d594a9a79890b76e002fbc1c7aa2a3aaed82c160.tar.bz2
android-node-v8-d594a9a79890b76e002fbc1c7aa2a3aaed82c160.zip
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 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"