Permalink
Browse files

travis

  • Loading branch information...
1 parent c6eae4b commit 423b7f6ebd985e0e08c3477088d64cd176eac5dd @mattyod committed Aug 28, 2012
Showing with 13 additions and 10 deletions.
  1. +1 −2 .npmignore
  2. +3 −0 .travis.yml
  3. +8 −4 package.json
  4. +1 −4 tests/config.test.js
View
@@ -1,5 +1,4 @@
.DS_Store
-tests
-tests/
+.travis.yml
node_modules
node_modules/
View
@@ -0,0 +1,3 @@
+language: node_js
+node_js:
+ - 0.8
View
@@ -1,7 +1,7 @@
{
"name": "matic",
"description": "Automated HTML documentation for JSON schemas",
- "version": "0.1.0",
+ "version": "0.1.1",
"keywords": [
"JSON",
"schema",
@@ -24,10 +24,14 @@
"underscore": "1.x"
},
"devDependencies": {
- "sinon": "1.3.x",
- "nodeunit": "0.7.x"
+ "sinon": "1.4.x",
+ "nodeunit": "0.7.x",
+ "jade": "0.27.x"
+ },
+ "scripts": {
+ "test": "nodeunit tests/*.test.js"
},
"engines": {
- "node": ">=0.8"
+ "node": "0.8.x"
}
}
@@ -5,17 +5,14 @@ module.exports = {
config: function(test) {
- test.expect(7);
+ test.expect(6);
test.ok(config.source,
'source reference exists');
test.ok(config.target,
'target reference exists');
- test.ok(config.schemas,
- 'schemas reference exists');
-
test.ok(config.template,
'template object exits');

0 comments on commit 423b7f6

Please sign in to comment.