UNPKG

851 BYAMLView Raw
1# appveyor file
2# http://www.appveyor.com/docs/appveyor-yml
3
4# branches to build
5branches:
6 # whitelist
7 only:
8 - master
9
10# build version format
11version: "{build}"
12
13# what combinations to test
14environment:
15 matrix:
16 - nodejs_version: 6
17
18# Get the stable version of node
19install:
20 - ps: Install-Product node $env:nodejs_version
21 - npm install
22
23build: off
24
25test_script:
26 # Output useful info for debugging.
27 - node --version && npm --version
28 - ps: "npm test # PowerShell" # Pass comment to PS for easier debugging
29 - cmd: npm test
30
31matrix:
32 fast_finish: true
33
34cache:
35 - C:\Users\appveyor\AppData\Roaming\npm\node_modules -> package.json # global npm modules
36 - C:\Users\appveyor\AppData\Roaming\npm-cache -> package.json # npm cache
37 - node_modules -> package.json # local npm modules