@@ -177,6 +177,8 @@ module.exports = function(config, specificOptions) {
177
177
if ( process . env . TRAVIS ) {
178
178
var buildLabel = 'TRAVIS #' + process . env . TRAVIS_BUILD_NUMBER + ' (' + process . env . TRAVIS_BUILD_ID + ')' ;
179
179
180
+ config . concurrency = 4 ;
181
+
180
182
// Karma (with socket.io 1.x) buffers by 50 and 50 tests can take a long time on IEs;-)
181
183
config . browserNoActivityTimeout = 120000 ;
182
184
@@ -187,20 +189,21 @@ module.exports = function(config, specificOptions) {
187
189
config . sauceLabs . build = buildLabel ;
188
190
config . sauceLabs . startConnect = false ;
189
191
config . sauceLabs . tunnelIdentifier = process . env . TRAVIS_JOB_NUMBER ;
190
- config . sauceLabs . recordScreenshots = true ;
192
+ config . sauceLabs . recordScreenshots = false ;
193
+ config . sauceLabs . recordVideo = false ;
191
194
192
195
// Debug logging into a file, that we print out at the end of the build.
193
196
config . loggers . push ( {
194
197
type : 'file' ,
195
198
filename : process . env . LOGS_DIR + '/' + ( specificOptions . logFile || 'karma.log' )
196
199
} ) ;
197
200
198
- if ( process . env . BROWSER_PROVIDER === 'saucelabs' || ! process . env . BROWSER_PROVIDER ) {
199
- // Allocating a browser can take pretty long (eg. if we are out of capacity and need to wait
200
- // for another build to finish) and so the `captureTimeout` typically kills
201
- // an in-queue-pending request, which makes no sense.
202
- config . captureTimeout = 0 ;
203
- }
201
+ // if (process.env.BROWSER_PROVIDER === 'saucelabs' || !process.env.BROWSER_PROVIDER) {
202
+ // // Allocating a browser can take pretty long (eg. if we are out of capacity and need to wait
203
+ // // for another build to finish) and so the `captureTimeout` typically kills
204
+ // // an in-queue-pending request, which makes no sense.
205
+ // config.captureTimeout = 0;
206
+ // }
204
207
}
205
208
206
209
0 commit comments