-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: add Python 3 tests to Travis CI #29196
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You could also prefix this with There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks. Will add these after |
||
|
||
allow_failures: | ||
- name: "Python 3 is EXPERIMENTAL" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not 3.7.4 since it's the latest ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3.7.4 is not available on the pyenv on Travis CI. pyenv list --install
We might even need to temporarily downgrade to Python 3.6 because async is a reserved word in Python >= 3.7 and that messes with inspector_protocol/code_generator.py