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

add appveyor config file #98

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
32 changes: 32 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# http://www.appveyor.com/docs/appveyor-yml

# Fix line endings in Windows. (runs before repo cloning)
init:
- git config --global core.autocrlf true

# Test against these versions of Node.js.
environment:
matrix:
- nodejs_version: "0.12"

install:
# Get the latest stable version of Node 0.STABLE.latest
- ps: Install-Product node $env:nodejs_version
# Typical npm stuff.
- md C:\nc
- npm install -g npm@^2
# hide python so node-gyp won't try to build native extentions
# rename C:\Python27 Python27hidden
# Workaround https://github.com/npm/npm/wiki/Troubleshooting#upgrading-on-windows
- set PATH=%APPDATA%\npm;%PATH%
- npm config set cache C:\nc
- npm version
- npm install

test_script:
# Output useful info for debugging.
- npm version
- cmd: npm run test

version: "{build}"