From e80cb671e542c6e20edb9518c6f64df9466ff85b Mon Sep 17 00:00:00 2001 From: Joseph Frazier <1212jtraceur@gmail.com> Date: Wed, 7 Oct 2015 00:09:32 -0400 Subject: [PATCH] Add appveyor.yml for automated Windows testing --- appveyor.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 appveyor.yml 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