diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 00000000..c604a053 --- /dev/null +++ b/appveyor.yml @@ -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