forked from thmaterna/Numeral-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma-ci.conf.js
41 lines (39 loc) · 1.08 KB
/
karma-ci.conf.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
module.exports = function(config) {
var customLaunchers = {
sl_chrome: {
base: 'SauceLabs',
browserName: 'chrome',
version: '50',
platform: 'OS X 10.11'
},
sl_firefox: {
base: 'SauceLabs',
browserName: 'firefox',
version: '45',
platform: 'OS X 10.11'
},
sl_ie: {
base: 'SauceLabs',
browserName: 'internet explorer',
version: '11.103',
platform: 'Windows 10'
}
};
process.env.SAUCE_USERNAME = 'numeraljs';
process.env.SAUCE_ACCESS_KEY = '5506968c-cfdc-4797-ba75-294620ad475f';
config.set({
reporters: [
'mocha',
'saucelabs'
],
browserDisconnectTimeout : 10000,
browserNoActivityTimeout: 120000,
browserDisconnectTolerance : 1,
browsers: Object.keys(customLaunchers),
sauceLabs: {
testName: 'Web App Unit Tests'
},
customLaunchers: customLaunchers,
singleRun: true
});
};