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