Skip to content

Commit

Permalink
Merge pull request #4 from oroce/chore/windows-build
Browse files Browse the repository at this point in the history
chore: added appveyor.yml
  • Loading branch information
oroce authored Apr 19, 2017
2 parents 1fdd2f3 + fbdb0c0 commit 44ea789
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 44ea789

Please sign in to comment.