1
+ 'use strict' ;
2
+
3
+ var _ = require ( 'underscore' ) ;
4
+
5
+ var customLaunchers = {
6
+ linux : {
7
+ 'SL_Chrome_Linux' : {
8
+ base : 'SauceLabs' ,
9
+ browserName : 'chrome' ,
10
+ platform : 'Linux' ,
11
+ version : '41'
12
+ } ,
13
+ 'SL_Firefox_Linux' : {
14
+ base : 'SauceLabs' ,
15
+ browserName : 'firefox' ,
16
+ platform : 'Linux' ,
17
+ version : '36'
18
+ } ,
19
+ 'SL_Android_Linux' : {
20
+ base : 'SauceLabs' ,
21
+ browserName : 'android' ,
22
+ platform : 'Linux' ,
23
+ version : '4.4' ,
24
+ deviceName : 'Android Emulator' ,
25
+ 'device-orientation' : 'portrait'
26
+ }
27
+ } ,
28
+ windows : {
29
+ 'SL_IE11_Windows_8.1' : {
30
+ base : 'SauceLabs' ,
31
+ browserName : 'internet explorer' ,
32
+ platform : 'Windows 8.1' ,
33
+ version : '11'
34
+ } ,
35
+ 'SL_IE10_Windows_8' : {
36
+ base : 'SauceLabs' ,
37
+ browserName : 'internet explorer' ,
38
+ platform : 'Windows 8' ,
39
+ version : '10'
40
+ } ,
41
+ 'SL_IE9_Windows_7' : {
42
+ base : 'SauceLabs' ,
43
+ browserName : 'internet explorer' ,
44
+ platform : 'Windows 7' ,
45
+ version : '9'
46
+ } ,
47
+ 'SL_IE8_Windows_7' : {
48
+ base : 'SauceLabs' ,
49
+ browserName : 'internet explorer' ,
50
+ platform : 'Windows XP' ,
51
+ version : '8'
52
+ }
53
+ } ,
54
+ osx : {
55
+ 'SL_Safari_Yosemite' : {
56
+ base : 'SauceLabs' ,
57
+ browserName : 'safari' ,
58
+ platform : 'OS X 10.10' ,
59
+ version : '8'
60
+ } ,
61
+ 'SL_Ipad' : {
62
+ base : 'SauceLabs' ,
63
+ browserName : 'ipad' ,
64
+ platform : 'OS X 10.10' ,
65
+ version : '8' ,
66
+ 'device-orientation' : 'portrait'
67
+ } ,
68
+ 'SL_Iphone' : {
69
+ base : 'SauceLabs' ,
70
+ browserName : 'iphone' ,
71
+ deviceName : 'iPhone Simulator' ,
72
+ platform : 'OS X 10.10' ,
73
+ version : '8' ,
74
+ 'device-orientation' : 'portrait'
75
+ }
76
+ }
77
+ } ;
78
+
79
+ module . exports = {
80
+ options : {
81
+ configFile : 'test/configuration/karma-sauce.js' ,
82
+ singleRun : true
83
+ } ,
84
+ dev : {
85
+ configFile : 'test/configuration/karma-local.js' ,
86
+ singleRun : false ,
87
+ autoWatch : true
88
+ } ,
89
+ 'sauce-linux' : {
90
+ customLaunchers : customLaunchers . linux ,
91
+ browsers : _ . keys ( customLaunchers . linux )
92
+ } ,
93
+ 'sauce-windows' : {
94
+ customLaunchers : customLaunchers . windows ,
95
+ browsers : _ . keys ( customLaunchers . windows )
96
+ } ,
97
+ 'sauce-osx' : {
98
+ customLaunchers : customLaunchers . osx ,
99
+ browsers : _ . keys ( customLaunchers . osx )
100
+ } ,
101
+ local : {
102
+ configFile : 'test/configuration/karma-local.js' ,
103
+ singleRun : true
104
+ }
105
+ } ;
0 commit comments