From 428ee4a62488457a1bc568e7475cbf65b1feaf93 Mon Sep 17 00:00:00 2001 From: Timmy Willison <4timmywil@gmail.com> Date: Tue, 16 Jan 2018 11:17:33 -0500 Subject: [PATCH] Tests: correctly set sudo in travis config, not karma config --- .travis.yml | 6 +++++- Gruntfile.js | 8 +------- 2 files changed, 6 insertions(+), 8 deletions(-) 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" ] -- 2.39.5