Skip to content

Commit

Permalink
[feature] Unit tests ready for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
vodolaz095 committed Aug 13, 2013
1 parent a717c25 commit 0936742
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
@@ -0,0 +1,8 @@
language: "node_js"
node_js:
- 0.6
- 0.8
- 0.10

services:
- redis-server
3 changes: 3 additions & 0 deletions package.json
Expand Up @@ -10,5 +10,8 @@
"engines": { "node": "*" },
"bugs": {
"url": "https://github.com/visionmedia/connect-redis/issues"
},
"scripts":{
"test":"node test.js"
}
}
1 change: 1 addition & 0 deletions test.js
Expand Up @@ -27,6 +27,7 @@ store.client.on('connect', function(){
console.log('done');
store.client.end();
store_alt.client.end();
process.exit(0);
});
});
throw new Error('Error in fn');
Expand Down

0 comments on commit 0936742

Please sign in to comment.