2
2
// Generated on Tue Dec 08 2015 23:01:01 GMT-0800 (Pacific Standard Time)
3
3
4
4
module . exports = function ( config ) {
5
+ // Check out https://saucelabs.com/platforms for expanding browser coverage
6
+ var customLaunchers = {
7
+ sl_chrome : {
8
+ base : 'SauceLabs' ,
9
+ browserName : 'chrome' ,
10
+ platform : 'Windows 10' ,
11
+ version : '46'
12
+ } ,
13
+ sl_firefox : {
14
+ base : 'SauceLabs' ,
15
+ browserName : 'firefox' ,
16
+ version : '30'
17
+ }
18
+ } ;
19
+
5
20
config . set ( {
6
21
7
22
// base path that will be used to resolve all patterns (eg. files, exclude)
@@ -31,7 +46,7 @@ module.exports = function (config) {
31
46
// test results reporter to use
32
47
// possible values: 'dots', 'progress'
33
48
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
34
- reporters : [ 'progress ' ] ,
49
+ reporters : [ 'dots' , 'saucelabs '] ,
35
50
36
51
// web server port
37
52
port : 9876 ,
@@ -48,14 +63,19 @@ module.exports = function (config) {
48
63
49
64
// start these browsers
50
65
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
51
- browsers : [ 'Chrome' ] ,
66
+ customLaunchers : customLaunchers ,
67
+ browsers : process . env . TRAVIS ? Object . keys ( customLaunchers ) : [ 'Chrome' ] ,
52
68
53
69
// Continuous Integration mode
54
70
// if true, Karma captures browsers, runs the tests and exits
55
71
singleRun : true ,
56
72
57
73
// Concurrency level
58
74
// how many browser should be started simultanous
59
- concurrency : 1
75
+ concurrency : 1 ,
76
+
77
+ sauceLabs : {
78
+ testName : 'RxJS 5 browser test'
79
+ }
60
80
} ) ;
61
- } ;
81
+ } ;
0 commit comments