From 46ea7a3f0e8893a420e4c3321dc3aca40d96f754 Mon Sep 17 00:00:00 2001 From: Timmy Willison <4timmywil@gmail.com> Date: Tue, 16 Jan 2018 11:10:30 -0500 Subject: [PATCH] Tests: temporarily require sudo access for karma:main on travis - This should fix the broken travis build on Node 8 - See https://github.com/travis-ci/travis-ci/issues/8836 --- Gruntfile.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 431e87557..655d09561 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -220,7 +220,13 @@ module.exports = function( grunt ) { }, main: { browsers: [ "ChromeHeadless" ], - singleRun: true + singleRun: true, + + // Temporary workaround. + // Karma can't access the binaries on travis + // without root access. + // See https://github.com/travis-ci/travis-ci/issues/8836 + sudo: "required" }, chrome: { browsers: [ "Chrome" ] -- 2.39.5