Skip to content

Commit aeafb91

Browse files
cclaussBridgeAR
authored andcommitted
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: #29196 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent e0537e6 commit aeafb91

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,18 @@ jobs:
8787
- if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then
8888
bash -x tools/lint-pr-commit-message.sh ${TRAVIS_PULL_REQUEST};
8989
fi
90+
91+
- name: "Python 3 is EXPERIMENTAL"
92+
language: node_js
93+
node_js: "node"
94+
install:
95+
- pyenv global 3.7.1
96+
- python3.7 -m pip install --upgrade pip
97+
- make lint-py-build
98+
script:
99+
- NODE=$(which node) make lint lint-py
100+
- python3.7 ./configure.py
101+
- NODE=$(which node) make test
102+
103+
allow_failures:
104+
- name: "Python 3 is EXPERIMENTAL"

0 commit comments

Comments
 (0)