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
This commit is contained in:
Timmy Willison 2018-01-16 11:10:30 -05:00
parent 14e5143b83
commit 46ea7a3f0e
No known key found for this signature in database
GPG Key ID: 5F0C8B73EF56CE6F

View File

@ -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" ]