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 and ensure that python3 is used by Makefile
to run Python scripts.

PR-URL: #29451
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Sam Roberts <[email protected]>
Reviewed-By: Rod Vagg <[email protected]>
  • Loading branch information
cclauss authored and MylesBorins committed Oct 23, 2019
1 parent c096f25 commit ccf5883
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ccf5883

Please sign in to comment.