Permalink
Browse files

Add travis ci integration

  • Loading branch information...
creationix committed Aug 3, 2012
1 parent f62d4ad commit 6a0183c0450a32c2d53f6b93542bed1220fe44cf
Showing with 4 additions and 1 deletion.
  1. +2 −0 .travis.yml
  2. +2 −1 test.js
View
@@ -0,0 +1,2 @@
+language: node_js
+script: node test.js
View
3 test.js 100644 → 100755
@@ -1,3 +1,4 @@
+#!/usr/bin/env node
var msgpack = require('./msgpack');
var util = require('util');
var assert = require('assert');
@@ -65,4 +66,4 @@ if (mistakes) {
} else {
console.log("\nAll tests passed successfully!");
}
-process.exit(mistakes);
+process.exit(mistakes.length);

0 comments on commit 6a0183c

Please sign in to comment.