Skip to content

Commit

Permalink
chore: add coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
yamikuronue committed Dec 19, 2016
1 parent 0d7c9eb commit 6a8d525
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ install:
script:
- make lint
- make test
- make coveralls
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ lint: .FORCE
eslint debug.js

test: .FORCE
mocha test/**.js
istanbul cover node_modules/mocha/bin/_mocha -- test/**.js
karma start --single-run

coveralls:
cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

.PHONY: all install clean distclean
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,18 @@
"devDependencies": {
"browserify": "9.0.3",
"chai": "^3.5.0",
"coveralls": "^2.11.15",
"eslint": "^3.12.1",
"eslint-plugin-babel": "^4.0.0",
"ghooks": "^1.3.2",
"istanbul": "^0.4.5",
"karma": "^1.3.0",
"karma-chai": "^0.1.0",
"karma-mocha": "^1.3.0",
"karma-phantomjs-launcher": "^1.0.2",
"karma-sinon": "^1.0.5",
"mocha": "^3.2.0",
"mocha-lcov-reporter": "^1.2.0",
"sinon": "^1.17.6",
"sinon-chai": "^2.8.0"
},
Expand Down

0 comments on commit 6a8d525

Please sign in to comment.