Skip to content

Commit e9adf02

Browse files
committed
Run tests with Travis-CI
1 parent 8a9070d commit e9adf02

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language: node_js
2+
node_js:
3+
- "iojs"
4+
- "0.12"
5+
- "0.11"
6+
- "0.10"
7+
- "0.8"

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131
"nock": "=0.28.0",
3232
"express": "=3.11.0"
3333
},
34+
"scripts": {
35+
"test": "node node_modules/.bin/mocha tests/integration/**/*.js"
36+
},
3437
"keywords": ["pusher", "websockets", "realtime"],
3538
"repository": "git://github.com/pusher/pusher-rest-node",
3639
"main": "lib/pusher",

0 commit comments

Comments
 (0)