-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
41 lines (35 loc) · 1.05 KB
/
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
38
39
40
41
version: 1.0.0-{build}
# Stop at first failure ?
#matrix:
# fast_finish: true
environment:
matrix:
# Test against thus versions of Node.js
- nodejs_version: 0.12
- nodejs_version: 0.10
- nodejs_version: 0.8
# io.js
- nodejs_version: 1
# 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
# Update npm itself
- npm install -g npm
- set PATH=%APPDATA%\npm;%APPVEYOR_BUILD_FOLDER%\node_modules\.bin;%PATH%
# Install modules
- npm install
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version && npm --version
# run tests
- cmd: npm test
# Don't actually build.
build: off
# Caching npm parts
cache:
# %APPDATA%
- 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