Skip to content

Commit

Permalink
build: use python3 to build and test on Travis
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
cclauss authored and sam-github committed Oct 16, 2019
1 parent d247a8e commit 2ff431b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ language: cpp
# 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="2.7.15"
# - PYTHON_VERSION="3.6.7"
# - PYTHON_VERSION="3.7.1"
- PYTHON_VERSION="3.7.1"
- PYTHON=python3
- EXPERIMENTAL_NODE_GYP_PYTHON3="yes"
jobs:
include:
- stage: "Compile"
Expand Down

0 comments on commit 2ff431b

Please sign in to comment.