var _ = require('lodash');
var assert = require("assert");
var exec = require('child_process').exec;

describe('githours', function() {

    describe('cli', function() {

        it('should output json', function(done) {
            exec('node index.js', function(err, stdout, stderr) {
                if (err !== null) {
                    throw new Error(stderr);
                }

                var work = JSON.parse(stdout);
                assert.notEqual(work.total.hours.length, 0);
                assert.notEqual(work.total.commits.length, 0);

                done();
            });
        });
    });
});

var _ = require('lodash');
var assert = require("assert");
var exec = require('child_process').exec;

describe('githours', function() {

    describe('cli', function() {

        it('should output json', function(done) {
            exec('node index.js', function(err, stdout, stderr) {
                if (err !== null) {
                    throw new Error(stderr);
                }

                console.log('output json', stdout);
                var work = JSON.parse(stdout);
                assert.notEqual(work.total.hours.length, 0);
                assert.notEqual(work.total.commits.length, 0);

                done();
            });
        });
    });
});

Add console.log to test to find out travis problem
Add console.log to test to find out travis problem
