diff options
author | cclauss <cclauss@me.com> | 2019-08-24 10:36:34 +0200 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-08-26 21:33:07 -0700 |
commit | bfa2683eb63b0934e307b072072478ee0c7dbc8f (patch) | |
tree | b00f3baf802ac02336f04c0124e37947c42af7e5 /.travis.yml | |
parent | 4662f67e3849d1e3d5127cc5ebc469d1febca57f (diff) | |
download | android-node-v8-bfa2683eb63b0934e307b072072478ee0c7dbc8f.tar.gz android-node-v8-bfa2683eb63b0934e307b072072478ee0c7dbc8f.tar.bz2 android-node-v8-bfa2683eb63b0934e307b072072478ee0c7dbc8f.zip |
build: test Python 3.6 and 3.7 on Travis CI
PR-URL: https://github.com/nodejs/node/pull/29291
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index fad66798e0..88f0c6cdbd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: @@ -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)" |