Skip to content

Commit 164075e

Browse files
cclaussBridgeAR
authored andcommitted
build: test Python 3.6 and 3.7 on Travis CI
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>
1 parent c8eeb68 commit 164075e

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.travis.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,19 @@ jobs:
8888
bash -x tools/lint-pr-commit-message.sh ${TRAVIS_PULL_REQUEST};
8989
fi
9090

91-
- name: "Python 3 is EXPERIMENTAL"
91+
- name: "Python 3 is EXPERIMENTAL (Py36)"
92+
language: node_js
93+
node_js: "node"
94+
install:
95+
- pyenv global 3.6.7
96+
- python3.6 -m pip install --upgrade pip
97+
- make lint-py-build
98+
script:
99+
- NODE=$(which node) make lint lint-py
100+
- python3.6 ./configure.py
101+
- NODE=$(which node) make test
102+
103+
- name: "Python 3 is EXPERIMENTAL (Py37)"
92104
language: node_js
93105
node_js: "node"
94106
install:
@@ -101,4 +113,5 @@ jobs:
101113
- NODE=$(which node) make test
102114

103115
allow_failures:
104-
- name: "Python 3 is EXPERIMENTAL"
116+
- name: "Python 3 is EXPERIMENTAL (Py36)"
117+
- name: "Python 3 is EXPERIMENTAL (Py37)"

0 commit comments

Comments
 (0)