Update coveralls
This commit is contained in:
parent
6f754da535
commit
767e558170
|
@ -9,4 +9,5 @@ before_install:
|
|||
install:
|
||||
- bower install
|
||||
- npm install
|
||||
|
||||
after_script:
|
||||
- gulp coveralls
|
||||
|
|
|
@ -25,12 +25,14 @@
|
|||
* <li> `lint` - run `jshint`
|
||||
* <li> `coverage` - run `istanbul` with mocha to generate a report of test coverage
|
||||
* <li> `jsdoc` - run `jsdoc` to generate the API reference
|
||||
* <li> `coveralls` - updates coveralls info
|
||||
* </ul>
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
var gulp = require('gulp');
|
||||
var closureCompiler = require('gulp-closure-compiler');
|
||||
var coveralls = require('gulp-coveralls');
|
||||
var jshint = require('gulp-jshint');
|
||||
var mocha = require('gulp-mocha');
|
||||
var runSequence = require('run-sequence');
|
||||
|
@ -128,6 +130,10 @@ gulp.task('jsdoc', shell.task(['jsdoc -c .jsdoc.conf lib']));
|
|||
|
||||
gulp.task('coverage', shell.task(['istanbul cover _mocha -- --recursive']));
|
||||
|
||||
gulp.task('coveralls', ['coverage'], function() {
|
||||
gulp.src('coverage/lcov.info').pipe(coveralls());
|
||||
});
|
||||
|
||||
/**
|
||||
* Watch tasks
|
||||
*/
|
||||
|
|
|
@ -94,6 +94,7 @@
|
|||
"closure-compiler-jar": "git://github.com/eordano/closure-compiler-jar.git",
|
||||
"gulp": "^3.8.10",
|
||||
"gulp-closure-compiler": "^0.2.9",
|
||||
"gulp-coveralls": "^0.1.3",
|
||||
"gulp-jsdoc": "^0.1.4",
|
||||
"gulp-jshint": "^1.9.0",
|
||||
"gulp-mocha": "^2.0.0",
|
||||
|
|
Loading…
Reference in New Issue