[Pkg-javascript-commits] [node-expat] 109/371: CI w/ Travis, tests with vows

Jonas Smedegaard dr at jones.dk
Sun Feb 28 09:59:50 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository node-expat.

commit f995bc41c412ece0b4534fc70674661a619e7b5c
Author: Astro <astro at spaceboyz.net>
Date:   Mon Dec 12 17:44:19 2011 +0100

    CI w/ Travis, tests with vows
---
 .travis.yml  | 4 ++++
 package.json | 3 ++-
 test.js      | 4 ++--
 3 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..f1d0f13
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,4 @@
+language: node_js
+node_js:
+  - 0.4
+  - 0.6
diff --git a/package.json b/package.json
index 928a723..e0d187e 100644
--- a/package.json
+++ b/package.json
@@ -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"}
 }
diff --git a/test.js b/test.js
index d1dfe7f..fd3843b 100644
--- a/test.js
+++ b/test.js
@@ -248,7 +248,7 @@ vows.describe('node-expat').addBatch({
            var result2 = p.parse(xml);
            assert.isNull(p.getError());
            assert.ok(result2);
-            
+
         }*/
     }
-}).run();
+}).export(module);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-expat.git



More information about the Pkg-javascript-commits mailing list