Skip to content

Commit 2ff431b

Browse files
cclausssam-github
authored andcommitted
build: use python3 to build and test on Travis
Request Python 3 with pyenv, ensure that python3 is used by Makefile to run Python scripts, and turn on experimental support for Python 3 in node-gyp.
1 parent d247a8e commit 2ff431b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ language: cpp
1010
# To experiment with Python 3, comment out Python 2.7 and uncomment one of the Python 3 versions.
1111
env:
1212
global:
13-
- PYTHON_VERSION="2.7.15"
13+
# - PYTHON_VERSION="2.7.15"
1414
# - PYTHON_VERSION="3.6.7"
15-
# - PYTHON_VERSION="3.7.1"
15+
- PYTHON_VERSION="3.7.1"
16+
- PYTHON=python3
17+
- EXPERIMENTAL_NODE_GYP_PYTHON3="yes"
1618
jobs:
1719
include:
1820
- stage: "Compile"

0 commit comments

Comments
 (0)