aboutsummaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2019-10-21 19:06:39 +0200
committerGitHub <noreply@github.com>2019-10-21 19:06:39 +0200
commit584835e68239ce55d1fc007b284e8ef4ed2817c2 (patch)
tree18509d7fdb9403390a8cbae8c6b05b1d32f41efe /Gruntfile.js
parent15750b0af270da07917b70457cf09bda97d3d935 (diff)
downloadjquery-584835e68239ce55d1fc007b284e8ef4ed2817c2.tar.gz
jquery-584835e68239ce55d1fc007b284e8ef4ed2817c2.zip
Build: Run tests on Travis on FirefoxHeadless as well
Also, run them on both ChromeHeadless & FirefoxHeadless locally on `grunt karma:main`. Plus, so far, the chrome addons were installed for all the jobs, even the ones that weren't used for browser testing. Changing that makes those jobs faster. Closes gh-4524
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index e740690af..7f21bf613 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -13,8 +13,7 @@ module.exports = function( grunt ) {
}
var fs = require( "fs" ),
- gzip = require( "gzip-js" ),
- isTravis = process.env.TRAVIS;
+ gzip = require( "gzip-js" );
if ( !grunt.option( "filename" ) ) {
grunt.option( "filename", "jquery.js" );
@@ -191,9 +190,7 @@ module.exports = function( grunt ) {
singleRun: true
},
main: {
-
- // The Chrome sandbox doesn't work on Travis.
- browsers: [ isTravis ? "ChromeHeadlessNoSandbox" : "ChromeHeadless" ]
+ browsers: [ "ChromeHeadless", "FirefoxHeadless" ]
},
jsdom: {