Skip to content

Commit caffe35

Browse files
committed
[Tests] add appveyor
1 parent 58b99a3 commit caffe35

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

appveyor.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
version: 1.0.{build}
2+
skip_branch_with_pr: true
3+
build: off
4+
5+
environment:
6+
matrix:
7+
- nodejs_version: "7"
8+
- nodejs_version: "6"
9+
- nodejs_version: "5"
10+
- nodejs_version: "4"
11+
- nodejs_version: "3"
12+
- nodejs_version: "2"
13+
- nodejs_version: "1"
14+
- nodejs_version: "0.12"
15+
- nodejs_version: "0.10"
16+
- nodejs_version: "0.8"
17+
- nodejs_version: "0.6"
18+
matrix:
19+
# fast_finish: true
20+
allow_failures:
21+
- nodejs_version: "0.6"
22+
23+
platform:
24+
- x86
25+
- x64
26+
27+
# Install scripts. (runs after repo cloning)
28+
install:
29+
# Get the latest stable version of Node.js or io.js
30+
- ps: Install-Product node $env:nodejs_version $env:platform
31+
- IF %nodejs_version% EQU 0.6 npm -g install [email protected]
32+
- IF %nodejs_version% EQU 0.8 npm -g install npm@2
33+
- set PATH=%APPDATA%\npm;%PATH%
34+
#- IF %nodejs_version% NEQ 0.6 AND %nodejs_version% NEQ 0.8 npm -g install npm
35+
# install modules
36+
- npm install
37+
38+
# Post-install test scripts.
39+
test_script:
40+
# Output useful info for debugging.
41+
- node --version
42+
- npm --version
43+
# run tests
44+
- npm run tests-only

0 commit comments

Comments
 (0)