From: Kunal Marwaha Date: Mon, 9 Apr 2018 09:39:31 +0000 (-0800) Subject: [misc] Add coveralls testing to travis build (#3848) X-Git-Tag: 2.22.1~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ddfeb528853ce1e81cbe0ec5f1f93a19b868f34;p=thirdparty%2Fmoment.git [misc] Add coveralls testing to travis build (#3848) * Add coveralls testing to travis build * Increase maxBlockDuration so coveralls can run --- diff --git a/Gruntfile.js b/Gruntfile.js index 9f2f12eeb..0225972a3 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -171,6 +171,9 @@ module.exports = function (grunt) { }, 'typescript-test': { command: 'npm run typescript-test' + }, + 'coveralls': { + command: 'npm run coveralls' } } @@ -199,7 +202,7 @@ module.exports = function (grunt) { grunt.registerTask('test:meteor', ['exec:meteor-init', 'exec:meteor-test', 'exec:meteor-cleanup']); // travis build task - grunt.registerTask('build:travis', ['default']); + grunt.registerTask('build:travis', ['default', 'exec:coveralls']); grunt.registerTask('meteor-publish', ['exec:meteor-init', 'exec:meteor-publish', 'exec:meteor-cleanup']); // Task to be run when releasing a new version diff --git a/tasks/qtest.js b/tasks/qtest.js index bb54a46ec..45026516d 100644 --- a/tasks/qtest.js +++ b/tasks/qtest.js @@ -7,7 +7,7 @@ module.exports = function (grunt) { testrunner.options.log.tests = false; testrunner.options.log.summary = false; testrunner.options.log.testing = false; - testrunner.options.maxBlockDuration = 120000; + testrunner.options.maxBlockDuration = 600000; var tests;