}
var fs = require( "fs" ),
- gzip = require( "gzip-js" );
+ gzip = require( "gzip-js" ),
+ isTravis = process.env.TRAVIS,
+ travisBrowsers = process.env.BROWSERS && process.env.BROWSERS.split( "," );
if ( !grunt.option( "filename" ) ) {
grunt.option( "filename", "jquery.js" );
singleRun: true
},
main: {
- browsers: [ "ChromeHeadless", "FirefoxHeadless" ]
+ browsers: isTravis && travisBrowsers || [ "ChromeHeadless", "FirefoxHeadless" ]
},
jsdom: {