-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Add Windows support and first-class Linux support #946
Changes from all commits
3384442
3230ce4
f8a8da6
0a35ddc
541edf1
3bf5a83
dfc6876
4bf6797
3030b13
4fd3275
17084ff
0e3025b
28d15df
0ff0d1b
a31a20f
d46a54d
99bb5e0
b9f945f
a221aad
5dae33f
f3314bb
325b90b
316831c
117410f
8e7ef2c
8b944fa
82bd606
4055924
285b884
efe582f
8d68618
9e4bc96
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# https://github.com/sindresorhus/appveyor-node/blob/master/appveyor.yml | ||
|
||
environment: | ||
matrix: | ||
- platform: x64 | ||
|
||
image: Visual Studio 2015 | ||
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. @matheuss are you sure you need this, VS Code's appveyor.yml doesn't have anything like it? Having said that, I don't know much about how images are used in appveyor. 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. |
||
|
||
init: | ||
- npm config set msvs_version 2015 # we need this to build `pty.js` | ||
|
||
cache: | ||
- node_modules | ||
|
||
install: | ||
- ps: Install-Product node 6 x64 | ||
- set CI=true | ||
- npm -g install npm@latest | ||
- npm install | ||
|
||
build: off | ||
|
||
shallow_clone: true | ||
|
||
test_script: | ||
- node --version | ||
- npm --version | ||
- npm run test | ||
|
||
on_success: | ||
- npm run dist |
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.
This won't work with
fish
shell 🤔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.
and
;
don't work on Windows 😩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.
maybe add this as a
script
in package.json?, then&&
works (even in fish)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.
or run them with .then after each other
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.
FYI, you wouldn't have to use
&&
inpackage.json
.