diff --git a/README.md b/README.md index 3615969..e43b9f7 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ Node.js: fs-extra ================= [![build status](https://secure.travis-ci.org/jprichardson/node-fs-extra.svg)](http://travis-ci.org/jprichardson/node-fs-extra) +[![Windows Build status](https://img.shields.io/appveyor/ci/jprichardson/node-fs-extra/master.svg?label=Windows)](https://ci.appveyor.com/project/jprichardson/node-fs-extra/branch/master) [![downloads per month](http://img.shields.io/npm/dm/fs-extra.svg)](https://www.npmjs.org/package/fs-extra) [![Coverage Status](https://img.shields.io/coveralls/jprichardson/node-fs-extra.svg)](https://coveralls.io/r/jprichardson/node-fs-extra) diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..b700563 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,26 @@ +# Test against this version of Node.js +environment: + matrix: + # node.js + - nodejs_version: "0.10" + - nodejs_version: "0.11" + # io.js + - nodejs_version: "1" + +# 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 test + +# Don't actually build. +build: off