pocesar/grunt-mocha-istanbul

Integration to coveralls doesn't work.

Closed this issue · 8 comments

I'm trying to integrate with coveralls.io but without success using this code on my grunt:

grunt.event.on('coverage', function(lcov, done){
    require('coveralls').handleInput(lcov, function(err){
        if (err) {
            return done(err);
        }
        done();
    });
});

and my coveralls.io status still unknown, you can check them out at https://coveralls.io/r/maisquestoes/api

can you please execute it using grunt travis --verbose or --dryRun? I'm not able to tell what's wrong with it looking at the sources, since travis is succeeding

EDIT: it seems you haven't validated your repository in coveralls, it's discarding the output from coveralls library (a short in the dark here)

https://travis-ci.org/maisquestoes/api/jobs/64909206

with --verbose

I've removed and added a repository again on coveralls.io but the problem still there.

can you remove the check part of the options?

It's ok now, thanks.

it seems to be a bug then, it should execute the event if the check passes, I'm going to reopen it until I fix

I think it's a Coveralls bug, because I put the check options back and there are no problem.

alright, good to know 👍

Thanks for all =)