Skip to content

Commit f60ed47

Browse files
cclaussrvagg
authored andcommitted
travis: add Python 3.5 and 3.6 tests on Linux
Support the same Python versions as the Python Core Team: https://devguide.python.org/#branchstatus PR-URL: #1903 Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: João Reis <reis@janeasystems.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
1 parent 968c906 commit f60ed47

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

.travis.yml

+10
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,20 @@ matrix:
4141
python: 3.7
4242
env: NODE_GYP_FORCE_PYTHON=python3
4343
before_install: nvm install 10
44+
45+
- name: "Node.js 12 & Python 3.5 on Linux"
46+
python: 3.5
47+
env: NODE_GYP_FORCE_PYTHON=python3
48+
before_install: nvm install 12
49+
- name: "Node.js 12 & Python 3.6 on Linux"
50+
python: 3.6
51+
env: NODE_GYP_FORCE_PYTHON=python3
52+
before_install: nvm install 12
4453
- name: "Node.js 12 & Python 3.7 on Linux"
4554
python: 3.7
4655
env: NODE_GYP_FORCE_PYTHON=python3
4756
before_install: nvm install 12
57+
4858
- name: "Python 3.7 on macOS"
4959
os: osx
5060
#osx_image: xcode11

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,23 +25,23 @@ $ npm install -g node-gyp
2525

2626
You will also need to install:
2727

28-
NOTE: node-gyp is compatible with Python 2.7 and 3.7 but node itself is not yet compatible with Python 3.
28+
NOTE: node-gyp is compatible with Python v2.7, v3.5, v3.6, or v3.7 but node itself is not yet compatible with Python 3.
2929

3030
### On Unix
3131

32-
* `Python v2.7 or v3.7` (v3.5 and 3.6 may work but are not currently tested)
32+
* `Python v2.7, v3.5, v3.6, or v3.7`
3333
* `make`
3434
* A proper C/C++ compiler toolchain, like [GCC](https://gcc.gnu.org)
3535

3636
### On macOS
3737

38-
* `Python v2.7 or v3.7` (v3.5 and 3.6 may work but are not currently tested)
38+
* `Python v2.7, v3.5, v3.6, or v3.7`
3939
* [Xcode](https://developer.apple.com/xcode/download/)
4040
* You also need to install the `XCode Command Line Tools` by running `xcode-select --install`. Alternatively, if you already have the full Xcode installed, you can find them under the menu `Xcode -> Open Developer Tool -> More Developer Tools...`. This step will install `clang`, `clang++`, and `make`.
4141

4242
### On Windows
4343

44-
Install the current version of Python from the [Microsoft Store package](https://docs.python.org/3.7/using/windows.html#the-microsoft-store-package).
44+
Install the current version of Python from the [Microsoft Store package](https://docs.python.org/3/using/windows.html#the-microsoft-store-package).
4545

4646
#### Option 1
4747

0 commit comments

Comments
 (0)