From f70261fb3089b8acf5f68584ef0285a1c11f54fd Mon Sep 17 00:00:00 2001 From: cclauss Date: Sun, 18 Aug 2019 22:42:12 +0200 Subject: build: add Python 3 tests to Travis CI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These tests are run in allow_failures mode on Python 3.7.1 and they bypasses the Python version checks in ./configure by directly running ./configure.py. PR-URL: https://github.com/nodejs/node/pull/29196 Reviewed-By: Rich Trott Reviewed-By: Rod Vagg Reviewed-By: Michaƫl Zasso --- .travis.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 82a55c76e1..fad66798e0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -87,3 +87,18 @@ jobs: - if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then bash -x tools/lint-pr-commit-message.sh ${TRAVIS_PULL_REQUEST}; fi + + - name: "Python 3 is EXPERIMENTAL" + language: node_js + node_js: "node" + install: + - pyenv global 3.7.1 + - python3.7 -m pip install --upgrade pip + - make lint-py-build + script: + - NODE=$(which node) make lint lint-py + - python3.7 ./configure.py + - NODE=$(which node) make test + + allow_failures: + - name: "Python 3 is EXPERIMENTAL" -- cgit v1.2.3