Skip to content

Commit

Permalink
build: test Python 3.6 and 3.7 on Travis CI
Browse files Browse the repository at this point in the history
PR-URL: #29291
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
  • Loading branch information
cclauss authored and BridgeAR committed Sep 4, 2019
1 parent 783c8ee commit def5c3e
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,19 @@ jobs:
bash -x tools/lint-pr-commit-message.sh ${TRAVIS_PULL_REQUEST};
fi

- name: "Python 3 is EXPERIMENTAL"
- name: "Python 3 is EXPERIMENTAL (Py36)"
language: node_js
node_js: "node"
install:
- pyenv global 3.6.7
- python3.6 -m pip install --upgrade pip
- make lint-py-build
script:
- NODE=$(which node) make lint lint-py
- python3.6 ./configure.py
- NODE=$(which node) make test

- name: "Python 3 is EXPERIMENTAL (Py37)"
language: node_js
node_js: "node"
install:
Expand All @@ -101,4 +113,5 @@ jobs:
- NODE=$(which node) make test

allow_failures:
- name: "Python 3 is EXPERIMENTAL"
- name: "Python 3 is EXPERIMENTAL (Py36)"
- name: "Python 3 is EXPERIMENTAL (Py37)"

0 comments on commit def5c3e

Please sign in to comment.