From: Timmy Willison <4timmywil@gmail.com> Date: Tue, 16 Jan 2018 16:17:33 +0000 (-0500) Subject: Tests: correctly set sudo in travis config, not karma config X-Git-Tag: 3.3.0~9 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=428ee4a62488457a1bc568e7475cbf65b1feaf93;p=jquery.git Tests: correctly set sudo in travis config, not karma config --- diff --git a/.travis.yml b/.travis.yml index 4fa82ae7a..4ac42174e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,9 @@ language: node_js -sudo: false +# 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 node_js: - "4" - "6" diff --git a/Gruntfile.js b/Gruntfile.js index 655d09561..431e87557 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -220,13 +220,7 @@ module.exports = function( grunt ) { }, main: { browsers: [ "ChromeHeadless" ], - 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" + singleRun: true }, chrome: { browsers: [ "Chrome" ]