From 3e482254a32c61fff6520596b9264106d6fc3c03 Mon Sep 17 00:00:00 2001 From: kirrg001 Date: Mon, 4 Dec 2017 13:43:50 +0100 Subject: [PATCH] Ensure test coverage exit in Travis refs https://github.com/TryGhost/Ghost/commit/611e8b5634668ae7f908765532510cdf919d47cf - looks like only grunt coverage won't tell Travis that the tests are finished - second attempt --- Gruntfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 86c2412dcb..2b4894d90b 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -180,7 +180,7 @@ var config = require('./core/server/config'), options: { mask: '**/*_spec.js', coverageFolder: 'core/test/coverage/unit', - mochaOptions: ['--timeout=15000', '--require', 'core/server/overrides'], + mochaOptions: ['--timeout=15000', '--require', 'core/server/overrides', '--exit'], excludes: ['core/client', 'core/server/built'] } }, @@ -193,7 +193,7 @@ var config = require('./core/server/config'), options: { coverageFolder: 'core/test/coverage/all', mask: '**/*_spec.js', - mochaOptions: ['--timeout=15000', '--require', 'core/server/overrides'], + mochaOptions: ['--timeout=15000', '--require', 'core/server/overrides', '--exit'], excludes: ['core/client', 'core/server/built'] }