From: Timmy Willison <4timmywil@gmail.com> Date: Tue, 16 Jan 2018 16:10:30 +0000 (-0500) Subject: Tests: temporarily require sudo access for karma:main on travis X-Git-Tag: 3.3.0~10 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=46ea7a3f0e8893a420e4c3321dc3aca40d96f754;p=jquery.git 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 --- 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" ]