Skip to content

Commit

Permalink
appveyor.yml configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba-kubula committed Mar 23, 2015
1 parent 916988d commit acad729
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions .npmignore
Expand Up @@ -3,3 +3,4 @@ src/
.git*
.vagrant
.npmignore
appveyor.yml
26 changes: 26 additions & 0 deletions appveyor.yml
@@ -0,0 +1,26 @@
# Test against this version of Node.js
environment:
nodejs_version: "0.10"

cache:
- node_modules -> **\package.json # preserve "node_modules" directory in the root of build folder but will reset it if packages.json is modified
- C:\Users\appveyor\AppData\Roaming\npm -> **\package.json
- C:\Users\appveyor\AppData\Roaming\npm-cache -> **\package.json

# 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

0 comments on commit acad729

Please sign in to comment.