diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..5cf1f0e --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,21 @@ +# Test against the latest version of this Node.js version +environment: + nodejs_version: "6" + +# 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 diff --git a/package.json b/package.json index 5d5aab4..2b384aa 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "lint": "eslint .", "pretest": "npm run lint", - "test": "mocha '*.spec.js'", + "test": "mocha \"*.spec.js\"", "test:watch": "npm test -- -w -b" }, "repository": {