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.yml for automated Windows testing #602

Merged
merged 1 commit into from Feb 8, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -0,0 +1,35 @@
# Explicitly ensure line endings aren't mangled
# http://www.appveyor.com/docs/lang/nodejs-iojs#line-endings
init:
- git config --global core.autocrlf input

# Test against these versions of Node.js
# https://www.appveyor.com/docs/lang/nodejs-iojs#testing-under-multiple-versions-of-node-js-or-io-js
environment:
matrix:
- nodejs_version: "" # https://www.appveyor.com/docs/installed-software#node-js
- nodejs_version: "4"
- nodejs_version: "0.12"

# http://www.appveyor.com/docs/build-cache
cache:
- node_modules

# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node $env:nodejs_version
# install modules
- npm install

# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
# run tests
- npm run test-node # (not `npm test` because saucelabs credentials are missing)

# Don't actually build.
# https://www.appveyor.com/docs/lang/nodejs-iojs#quick-start
build: off
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.