Skip to content

Commit cfc1f78

Browse files
committed
Basic appveyor.yml.
1 parent 604b2a0 commit cfc1f78

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

appveyor.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# http://www.appveyor.com/docs/appveyor-yml
2+
3+
# Test against these versions of Io.js and Node.js.
4+
environment:
5+
matrix:
6+
# node.js
7+
- nodejs_version: "0.8"
8+
- nodejs_version: "0.10"
9+
- nodejs_version: "0.12"
10+
- nodejs_version: "3"
11+
- nodejs_version: "4"
12+
13+
# Install scripts. (runs after repo cloning)
14+
install:
15+
# Get the latest stable version of Node 0.STABLE.latest
16+
- ps: Install-Product node $env:nodejs_version
17+
- IF %nodejs_version% EQU 0.8 npm -g install npm@2
18+
- IF %nodejs_version% EQU 0.8 set PATH=%APPDATA%\npm;%PATH%
19+
- npm -g install npm
20+
- IF %nodejs_version% NEQ 0.8 set PATH=%APPDATA%\npm;%PATH%
21+
# Typical npm stuff.
22+
- npm install
23+
24+
test_script:
25+
# Output useful info for debugging.
26+
- node --version
27+
- npm --version
28+
# run tests
29+
- npm test
30+
31+
build: off
32+
33+
version: "{build}"

0 commit comments

Comments
 (0)