From def5c3e5d865f89da2d9ad7c1b86c5952118525c Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 24 Aug 2019 10:36:34 +0200 Subject: [PATCH] build: test Python 3.6 and 3.7 on Travis CI PR-URL: https://github.com/nodejs/node/pull/29291 Reviewed-By: Rich Trott Reviewed-By: Trivikram Kamat Reviewed-By: Jiawen Geng --- .travis.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index fad66798e05436..88f0c6cdbd2887 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)"