Skip to content

Commit

Permalink
Update coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
eordano committed Dec 18, 2014
1 parent 6f754da commit 767e558
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ before_install:
install:
- bower install
- npm install

after_script:
- gulp coveralls
6 changes: 6 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -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
*/
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 767e558

Please sign in to comment.