Skip to content

Commit

Permalink
travis
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyod committed Aug 28, 2012
1 parent c6eae4b commit 423b7f6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
3 changes: 1 addition & 2 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.DS_Store
tests
tests/
.travis.yml
node_modules
node_modules/
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
language: node_js
node_js:
- 0.8
12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "matic",
"description": "Automated HTML documentation for JSON schemas",
"version": "0.1.0",
"version": "0.1.1",
"keywords": [
"JSON",
"schema",
Expand All @@ -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 changes: 1 addition & 4 deletions tests/config.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit 423b7f6

Please sign in to comment.