From cfc1f780ff4174244327231cdd3d7f11e3d3db0a Mon Sep 17 00:00:00 2001 From: Jason Stallings Date: Sat, 24 Oct 2015 13:09:18 -0500 Subject: [PATCH] Basic appveyor.yml. --- appveyor.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 00000000..642d9812 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,33 @@ +# http://www.appveyor.com/docs/appveyor-yml + +# Test against these versions of Io.js and Node.js. +environment: + matrix: + # node.js + - nodejs_version: "0.8" + - nodejs_version: "0.10" + - nodejs_version: "0.12" + - nodejs_version: "3" + - nodejs_version: "4" + +# Install scripts. (runs after repo cloning) +install: + # Get the latest stable version of Node 0.STABLE.latest + - ps: Install-Product node $env:nodejs_version + - IF %nodejs_version% EQU 0.8 npm -g install npm@2 + - IF %nodejs_version% EQU 0.8 set PATH=%APPDATA%\npm;%PATH% + - npm -g install npm + - IF %nodejs_version% NEQ 0.8 set PATH=%APPDATA%\npm;%PATH% + # Typical npm stuff. + - npm install + +test_script: + # Output useful info for debugging. + - node --version + - npm --version + # run tests + - npm test + +build: off + +version: "{build}" \ No newline at end of file