Update coveralls

This commit is contained in:
Esteban Ordano 2014-12-17 22:53:28 -03:00
parent 6f754da535
commit 767e558170
3 changed files with 9 additions and 1 deletions

View File

@ -9,4 +9,5 @@ before_install:
install:
- bower install
- npm install
after_script:
- gulp coveralls

View File

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

View File

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