Skip to content

Commit

Permalink
add coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture committed Apr 19, 2013
1 parent cacb749 commit af7137f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
@@ -1,3 +1,5 @@
language: node_js
node_js:
- 0.8

after_success: make coveralls
12 changes: 5 additions & 7 deletions Makefile
Expand Up @@ -23,14 +23,12 @@ coverage:
@echo "Built Report to ${out}"
@echo

coveralls:
@node_modules/.bin/jscoverage lib lib-cov
@CMD_COVERAGE=1 $(MAKE) test reporter=mocha-lcov-reporter | node_modules/.bin/coveralls
@rm -rf lib-cov

clean:
@rm -fr _site

theme = ~/.spm/themes/one
documentation:
@nico build --theme ${theme} -C scripts/nico.json

server:
@nico server --theme ${theme} -C scripts/nico.json

.PHONY: all build test lint coverage
7 changes: 5 additions & 2 deletions package.json
Expand Up @@ -8,8 +8,11 @@
},
"devDependencies": {
"jshint": "*",
"mocha": "*",
"should": "*"
"mocha": "~1.9.0",
"mocha-lcov-reporter": "~0.0.1",
"jscoverage": "~0.3.6",
"coveralls": "~2.0.7",
"should": "~1.2.2"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit af7137f

Please sign in to comment.