Skip to content

Commit

Permalink
added coveralls support
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys committed Mar 1, 2017
1 parent ce63e24 commit ebec3fa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ test-unit:
lint:
./node_modules/.bin/eslint src test

test: test-unit lint test-browser
test: test-unit lint test-browser coverage-report

coverage-report:
istanbul cover node_modules/.bin/_mocha --report=lcovonly 'test/server.js'
cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@
"bluebird": "^3.4.6",
"browserify": "^13.1.0",
"chai": "^2.3.0",
"coveralls": "^2.11.16",
"eslint": "^1.10.3",
"istanbul": "^0.4.5",
"karma": "^1.3.0",
"karma-browserify": "^5.1.0",
"karma-chai": "^0.1.0",
Expand Down

0 comments on commit ebec3fa

Please sign in to comment.