Skip to content

Commit

Permalink
adds coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
seriousManual committed Aug 20, 2014
1 parent bba91b6 commit 68beb5a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea
node_modules
*.sqlite
*.sqlite
coverage
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ branches:
node_js:
- "0.10"
- "0.11"
script: make test
script: make travis
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ test:
@make run-unit-tests
@make run-integration-tests

cover:
NODE_ENV=test istanbul cover ./node_modules/.bin/_mocha -- tests/**/*.tests.js -R dot --timeout=5000

make travis:
make test
make cover

setup:
@make install-packages
@make test
Expand Down

0 comments on commit 68beb5a

Please sign in to comment.