summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorcclauss <cclauss@me.com>2019-08-18 22:42:12 +0200
committerRich Trott <rtrott@gmail.com>2019-08-20 20:30:39 -0700
commitf70261fb3089b8acf5f68584ef0285a1c11f54fd (patch)
tree852c8dd29c2b838d4e6c33feb0d97ce6c0a29287 /.travis.yml
parent61140ffe3cccbdbed36667831d0914622db46866 (diff)
downloadnode-new-f70261fb3089b8acf5f68584ef0285a1c11f54fd.tar.gz
build: add Python 3 tests to Travis CI
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 <rtrott@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml15
1 files changed, 15 insertions, 0 deletions
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"