Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[feature] Unit tests ready for travis

  • Loading branch information...
commit 09367421d5f99cc21a4bed9d39ebf14080e22759 1 parent a717c25
@vodolaz095 vodolaz095 authored
Showing with 12 additions and 0 deletions.
  1. +8 −0 .travis.yml
  2. +3 −0  package.json
  3. +1 −0  test.js
View
8 .travis.yml
@@ -0,0 +1,8 @@
+language: "node_js"
+node_js:
+ - 0.6
+ - 0.8
+ - 0.10
+
+services:
+ - redis-server
View
3  package.json
@@ -10,5 +10,8 @@
"engines": { "node": "*" },
"bugs": {
"url": "https://github.com/visionmedia/connect-redis/issues"
+ },
+ "scripts":{
+ "test":"node test.js"
}
}
View
1  test.js
@@ -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');
Please sign in to comment.
Something went wrong with that request. Please try again.