Skip to content

Commit bf8a2c9

Browse files
committed
Build: Add AppVeyor for Windows testing
1 parent 4c7f1ca commit bf8a2c9

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

appveyor.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# http://www.appveyor.com/docs/appveyor-yml
2+
# http://www.appveyor.com/docs/lang/nodejs-iojs
3+
4+
environment:
5+
matrix:
6+
# node.js
7+
- nodejs_version: "0.10"
8+
- nodejs_version: "0.12"
9+
- nodejs_version: "4"
10+
- nodejs_version: "5"
11+
- nodejs_version: "6"
12+
13+
install:
14+
- ps: Install-Product node $env:nodejs_version
15+
- npm install
16+
17+
test_script:
18+
- node --version
19+
- npm --version
20+
- cmd: npm test
21+
22+
build: off
23+
24+
# build version format
25+
version: "{build}"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"should": "^7.0.0"
3232
},
3333
"scripts": {
34-
"lint": "eslint . && jscs *.js lib/ test/",
34+
"lint": "eslint . && jscs index.js lib/ test/",
3535
"pretest": "npm run lint",
3636
"test": "mocha",
3737
"coveralls": "istanbul cover _mocha && istanbul-coveralls",

0 commit comments

Comments
 (0)