aboutsummaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorTimmy Willison <4timmywil@gmail.com>2018-01-16 11:10:30 -0500
committerTimmy Willison <4timmywil@gmail.com>2018-01-16 11:11:01 -0500
commit46ea7a3f0e8893a420e4c3321dc3aca40d96f754 (patch)
treed485d63167d375cbd75f7dbb11f7aefc5f916a3d /Gruntfile.js
parent14e5143b831514edc527817c2cd6bef0294079ed (diff)
downloadjquery-46ea7a3f0e8893a420e4c3321dc3aca40d96f754.tar.gz
jquery-46ea7a3f0e8893a420e4c3321dc3aca40d96f754.zip
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
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js8
1 files changed, 7 insertions, 1 deletions
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" ]