]> source.dussan.org Git - jquery.git/commitdiff
Tests: temporarily require sudo access for karma:main on travis
authorTimmy Willison <4timmywil@gmail.com>
Tue, 16 Jan 2018 16:10:30 +0000 (11:10 -0500)
committerTimmy Willison <4timmywil@gmail.com>
Tue, 16 Jan 2018 16:11:01 +0000 (11:11 -0500)
- This should fix the broken travis build on Node 8
- See https://github.com/travis-ci/travis-ci/issues/8836

Gruntfile.js

index 431e87557748c7d12ba5a208e1d56c04e7c88e68..655d0956187802b2aff7362283ad30e2caa9937b 100644 (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" ]