Permalink
Browse files

CI w/ Travis, tests with vows

  • Loading branch information...
1 parent 3268c6c commit f995bc41c412ece0b4534fc70674661a619e7b5c @astro committed Dec 12, 2011
Showing with 8 additions and 3 deletions.
  1. +4 −0 .travis.yml
  2. +2 −1 package.json
  3. +2 −2 test.js
View
@@ -0,0 +1,4 @@
+language: node_js
+node_js:
+ - 0.4
+ - 0.6
View
@@ -7,7 +7,7 @@
,"test": "node test.js"
}
,"dependencies": []
-,"devDependencies": ["vows"]
+,"devDependencies": {"vows": ">=0.5.12"}
,"repositories": [{ "type": "git"
,"path": "git://github.com/astro/node-expat.git"
}]
@@ -20,4 +20,5 @@
,"contributors": ["Stephan Maka", "Derek Hammer", "Iein Valdez", "Peter Körner", "Camilo Aguilar", "Michael Weibel"]
,"licenses": [{ "type": "MIT" }]
,"engine": "node"
+,"scripts": {"test":"vows --spec ./test.js"}
}
View
@@ -248,7 +248,7 @@ vows.describe('node-expat').addBatch({
var result2 = p.parse(xml);
assert.isNull(p.getError());
assert.ok(result2);
-
+
}*/
}
-}).run();
+}).export(module);

0 comments on commit f995bc4

Please sign in to comment.