Skip to content

Commit

Permalink
coveralls again...
Browse files Browse the repository at this point in the history
  • Loading branch information
pocesar committed Feb 4, 2014
1 parent 9d3166f commit 74c194d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
12 changes: 4 additions & 8 deletions Gruntfile.js
Expand Up @@ -17,18 +17,14 @@ module.exports = function(grunt) {
}
});

grunt.event.on('coverage', function(data){
process.env.NODE_COVERALLS_DEBUG = 1;
process.env.TRAVIS_JOB_ID = 18185530;
process.env.TRAVIS = true;
grunt.log.writeln('Travis JOB ID:', process.env.TRAVIS_JOB_ID);
grunt.log.writeln('Travis ENV:', process.env.TRAVIS);

grunt.event.on('coverage', function(data, done){
var coveralls = require('coveralls');

coveralls.handleInput(data, function(err){
if (err) {
throw err;
done(err);
} else {
done();
}
});
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name" : "chain-commander",
"version": "0.1.2",
"version": "0.1.3",
"main": "./lib/chain-commander.js",
"description":"Chain commander is a library based on Q library, to encapsulate business rules logic in form of javascript objects or JSON.",
"keywords": [
Expand Down

0 comments on commit 74c194d

Please sign in to comment.