diff options
author | Timmy Willison <4timmywil@gmail.com> | 2018-01-16 11:10:30 -0500 |
---|---|---|
committer | Timmy Willison <4timmywil@gmail.com> | 2018-01-16 11:11:01 -0500 |
commit | 46ea7a3f0e8893a420e4c3321dc3aca40d96f754 (patch) | |
tree | d485d63167d375cbd75f7dbb11f7aefc5f916a3d /Gruntfile.js | |
parent | 14e5143b831514edc527817c2cd6bef0294079ed (diff) | |
download | jquery-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.js | 8 |
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" ] |