diff --git a/Makefile b/Makefile index 36b9b41..7093d06 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,11 @@ test: test-cov: lib-cov @YAPS_COV=1 $(MAKE) test REPORTER=html-cov > coverage.html +test-coveralls: lib-cov + echo TRAVIS_JOB_ID $(TRAVIS_JOB_ID) + @YAPS_COV=1 $(MAKE) test REPORTER=mocha-lcov-reporter | ./node_modules/coveralls/bin/coveralls.js + $(MAKE) clean + lib-cov: @./node_modules/.bin/jscoverage lib lib-cov diff --git a/package.json b/package.json index 30ae564..58d7918 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,10 @@ }, "description": "Yet Another Plugin Server", "devDependencies": { + "coveralls": "~2.2.0", "jscoverage": "~0.3.8", "mocha": "~1.12.1", + "mocha-lcov-reporter": "0.0.1", "sinon": "~1.7.3" }, "keywords": [