Skip to content

Commit

Permalink
Fix Travis Build (for real this time)
Browse files Browse the repository at this point in the history
  • Loading branch information
GermainBergeron committed Nov 24, 2015
1 parent 1df04c0 commit 4a33a7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ var csscomb = require('gulp-csscomb');


var tslintConfig = require('./tslint.js').configuration;
var karmaConfig = require('./karma.conf.js').configuration;

var isCIBuild = process.env.CI;

gulp.task('ts:lint', function () {
Expand Down Expand Up @@ -57,9 +55,11 @@ gulp.task('test', ['test:compile'], function () {
var config = {
configFile: __dirname + '/karma.conf.js'
};

if (isCIBuild) {
config.reporters = karmaConfig.reporters.push('coveralls');
config.reporters = ['mocha', 'coverage', 'coveralls'];
}

new karma(config).start();
});

Expand Down
1 change: 0 additions & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ var configuration = {
browsers: ['PhantomJS'],
singleRun: true
};
exports.configuration = configuration;
module.exports = function (config) {
config.set(configuration);
};

0 comments on commit 4a33a7a

Please sign in to comment.