aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml6
-rw-r--r--Gruntfile.js8
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" ]