Skip to content
Browse files

[test] added travis

  • Loading branch information...
1 parent ad442c5 commit 1f2039d15eb6a776cf9848cfa550d181ae6523a4 @dscape committed Dec 19, 2011
Showing with 12 additions and 3 deletions.
  1. +7 −0 .travis.yml
  2. +4 −3 package.json
  3. +1 −0 test/clarinet.js
View
7 .travis.yml
@@ -0,0 +1,7 @@
+language: "node_js"
+node_js:
+ - 0.4
+ - 0.6
+branches:
+ only:
+ - master
View
7 package.json
@@ -13,10 +13,11 @@
, "keywords" :
["sax", "json", "parser", "stream", "streaming", "event"
, "events", "emitter", "async", "streamer"]
-, "devDependencies" : { "mocha": "0.3.6", "should": "0.3.2" }
-, scripts :
+, "devDependencies" :
+ { "mocha": "0.3.6", "should": "0.3.2", "underscore": "1.2.3" }
+, "scripts" :
{ "test" :
- "./node_modules/mocha/bin/mocha -r should test/spell.js"
+ "./node_modules/mocha/bin/mocha -r should test/clarinet.js"
}
, "engines" : { "node": ">=0.3.6" }
}
View
1 test/clarinet.js
@@ -1,6 +1,7 @@
if (!clarinet) { // node
var clarinet = require('../clarinet.js')
, assert = require('assert')
+ , _ = require('underscore')
;
}

0 comments on commit 1f2039d

Please sign in to comment.
Something went wrong with that request. Please try again.