File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change 125
125
function webdriverStream ( test ) {
126
126
var browser = wd . remote ( "localhost" , 4445 , process . env . SAUCE_USERNAME , process . env . SAUCE_ACCESS_KEY ) ;
127
127
var browserStream = new Bacon . Bus ( ) ;
128
- test . capabilities [ "tunnel-identifier" ] = process . env . TRAVIS_JOB_NUMBER ;
129
- test . capabilities [ "name" ] = process . env . TRAVIS_COMMIT + " #" + process . env . TRAVIS_BUILD_NUMBER ;
128
+ if ( process . env . TRAVIS_JOB_NUMBER ) {
129
+ test . capabilities [ "tunnel-identifier" ] = process . env . TRAVIS_JOB_NUMBER ;
130
+ test . capabilities [ "name" ] = process . env . TRAVIS_COMMIT . substring ( 0 , 10 ) + " #" + process . env . TRAVIS_BUILD_NUMBER ;
131
+ }
130
132
131
133
var resultStream = Bacon . fromNodeCallback ( browser , "init" , test . capabilities )
132
134
. flatMap ( Bacon . fromNodeCallback ( browser , "setImplicitWaitTimeout" , 15000 )
194
196
var browsers = [
195
197
{
196
198
browserName : "chrome" ,
197
- platform : "Windows 7"
199
+ platform : "Windows 7" ,
200
+ version : "34"
198
201
} , {
199
202
browserName : "firefox" ,
200
203
version : "15" ,
207
210
browserName : "internet explorer" ,
208
211
version : "10" ,
209
212
platform : "Windows 8"
213
+ } , {
214
+ browserName : "internet explorer" ,
215
+ version : "11" ,
216
+ platform : "Windows 8.1"
210
217
} , {
211
218
browserName : "safari" ,
212
219
version : "6" ,
213
220
platform : "OS X 10.8"
221
+ } , {
222
+ browserName : "safari" ,
223
+ platform : "OS X 10.9" ,
224
+ version : "7"
214
225
} , {
215
226
browserName : "chrome" ,
216
- platform : "OS X 10.8"
227
+ platform : "OS X 10.8" ,
228
+ version : "34"
217
229
}
218
230
] ;
219
231
return Bacon . combineTemplate ( {
You can’t perform that action at this time.
0 commit comments