File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -9,19 +9,17 @@ module.exports = function(config, specificOptions) {
9
9
browserDisconnectTolerance : 2 ,
10
10
11
11
12
- // config for Travis CI
12
+ // SauceLabs config for local development.
13
13
sauceLabs : {
14
14
testName : specificOptions . testName || 'AngularJS' ,
15
- startConnect : false ,
16
- tunnelIdentifier : process . env . TRAVIS_JOB_NUMBER
15
+ startConnect : true
17
16
} ,
18
17
19
- // BrowserStack config for Travis CI
18
+ // BrowserStack config for local development.
20
19
browserStack : {
21
- startTunnel : false ,
22
20
project : 'AngularJS' ,
23
21
name : specificOptions . testName ,
24
- build : process . env . TRAVIS_BUILD_NUMBER ,
22
+ startTunnel : true ,
25
23
timeout : 600 // 10min
26
24
} ,
27
25
@@ -122,8 +120,13 @@ module.exports = function(config, specificOptions) {
122
120
123
121
config . logLevel = config . LOG_DEBUG ;
124
122
config . transports = [ 'websocket' , 'xhr-polling' ] ;
123
+
125
124
config . browserStack . build = buildLabel ;
125
+ config . browserStack . startTunnel = false ;
126
+
126
127
config . sauceLabs . build = buildLabel ;
128
+ config . sauceLabs . startConnect = false ;
129
+ config . sauceLabs . tunnelIdentifier = process . env . TRAVIS_JOB_NUMBER ;
127
130
128
131
// TODO(vojta): remove once SauceLabs supports websockets.
129
132
// This speeds up the capturing a bit, as browsers don't even try to use websocket.
You can’t perform that action at this time.
0 commit comments