Skip to content
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

Fix running Windows on Travis CI #1812

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@ matrix:
osx_image: xcode10.2
language: shell # 'language: python' is not yet supported on macOS
before_install: HOMEBREW_NO_AUTO_UPDATE=1 brew install npm
- name: "Python 2.7 on Windows"
- name: "Node.js 6 & Python 2.7 on Windows"
os: windows
language: node_js
node_js: 6 # node
env: PATH=/c/Python27:/c/Python27/Scripts:$PATH
before_install: choco install python2
- name: "Node.js 12 & Python 2.7 on Windows"
os: windows
language: node_js
node_js: 12 # node
Expand All @@ -28,8 +34,6 @@ matrix:
- name: "Node.js 12 & Python 3.7 on Linux"
python: 3.7
before_install: nvm install 12
allow_failures:
- os: windows
install:
#- pip install -r requirements.txt
- pip install flake8 # pytest # add another testing frameworks later
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
},
"scripts": {
"lint": "standard */*.js test/**/*.js",
"test": "npm run lint && tap test/test-*"
"test": "npm run lint && tap --timeout=120 test/test-*"
}
}