Skip to content

Commit 1267b4d

Browse files
cclaussrvagg
authored andcommitted
build: add test run Python 3.7 on macOS
Refs: #1846 PR-URL: #1843 Reviewed-By: João Reis <[email protected]>
1 parent da1b031 commit 1267b4d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.travis.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ matrix:
88
python: 2.7
99
- name: "Python 2.7 on macOS"
1010
os: osx
11-
osx_image: xcode10.2
11+
osx_image: xcode11
1212
language: shell # 'language: python' is not yet supported on macOS
1313
env: NODE_GYP_FORCE_PYTHON=python2
1414
before_install: HOMEBREW_NO_AUTO_UPDATE=1 brew install npm
@@ -28,6 +28,7 @@ matrix:
2828
PATH=/c/Python27:/c/Python27/Scripts:$PATH
2929
NODE_GYP_FORCE_PYTHON=/c/Python27/python.exe
3030
before_install: choco install python2
31+
3132
- name: "Node.js 6 & Python 3.7 on Linux"
3233
python: 3.7
3334
env: NODE_GYP_FORCE_PYTHON=python3 EXPERIMENTAL_NODE_GYP_PYTHON3=1
@@ -44,6 +45,12 @@ matrix:
4445
python: 3.7
4546
env: NODE_GYP_FORCE_PYTHON=python3 EXPERIMENTAL_NODE_GYP_PYTHON3=1
4647
before_install: nvm install 12
48+
- name: "Python 3.7 on macOS"
49+
os: osx
50+
#osx_image: xcode11
51+
language: shell # 'language: python' is not yet supported on macOS
52+
env: NODE_GYP_FORCE_PYTHON=python3 EXPERIMENTAL_NODE_GYP_PYTHON3=1
53+
before_install: HOMEBREW_NO_AUTO_UPDATE=1 brew install npm
4754
- name: "Node.js 12 & Python 3.7 on Windows"
4855
os: windows
4956
language: node_js
@@ -53,6 +60,7 @@ matrix:
5360
NODE_GYP_FORCE_PYTHON=/c/Python37/python.exe
5461
EXPERIMENTAL_NODE_GYP_PYTHON3=1
5562
before_install: choco install python
63+
5664
allow_failures:
5765
- env: NODE_GYP_FORCE_PYTHON=python3 EXPERIMENTAL_NODE_GYP_PYTHON3=1
5866
- env: >-

0 commit comments

Comments
 (0)