add coveralls config

This commit is contained in:
Michael Barrett 2015-05-02 20:31:51 +01:00
parent 5fe5543a1f
commit 1f252d80e8
2 changed files with 8 additions and 0 deletions

View File

@ -14,3 +14,8 @@ cache:
- node_modules
script: gulp ci
after_script:
- istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- rm -rf ./coverage

View File

@ -12,6 +12,7 @@
"devDependencies": {
"browserify": "^10.0.0",
"chai": "^2.3.0",
"coveralls": "^2.11.2",
"del": "^1.1.1",
"gulp": "^3.8.11",
"gulp-babel": "^5.1.0",
@ -22,8 +23,10 @@
"gulp-rename": "^1.2.2",
"gulp-sourcemaps": "^1.5.2",
"gulp-uglify": "^1.2.0",
"istanbul": "^0.3.13",
"jshint-stylish": "^1.0.1",
"mocha": "^2.2.4",
"mocha-lcov-reporter": "0.0.2",
"run-sequence": "^1.1.0",
"vinyl-source-stream": "^1.1.0"
}