Browse Source

setup coveralls

master
Brett Langdon 12 years ago
parent
commit
7c5e7c4e6a
2 changed files with 7 additions and 0 deletions
  1. +5
    -0
      Makefile
  2. +2
    -0
      package.json

+ 5
- 0
Makefile View File

@ -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


+ 2
- 0
package.json View File

@ -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": [


Loading…
Cancel
Save