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>
This commit is contained in:
parent
4662f67e38
commit
bfa2683eb6
17
.travis.yml
17
.travis.yml
@ -88,7 +88,19 @@ jobs:
|
|||||||
bash -x tools/lint-pr-commit-message.sh ${TRAVIS_PULL_REQUEST};
|
bash -x tools/lint-pr-commit-message.sh ${TRAVIS_PULL_REQUEST};
|
||||||
fi
|
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
|
language: node_js
|
||||||
node_js: "node"
|
node_js: "node"
|
||||||
install:
|
install:
|
||||||
@ -101,4 +113,5 @@ jobs:
|
|||||||
- NODE=$(which node) make test
|
- NODE=$(which node) make test
|
||||||
|
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- name: "Python 3 is EXPERIMENTAL"
|
- name: "Python 3 is EXPERIMENTAL (Py36)"
|
||||||
|
- name: "Python 3 is EXPERIMENTAL (Py37)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user