forked from kottenator/jquery-circle-progress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkarma-saucelabs.conf.js
57 lines (56 loc) · 1.62 KB
/
karma-saucelabs.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// Karma configuration
module.exports = function(config) {
var customLaunchers = {
'latest-chrome': {
base: 'SauceLabs',
browserName: 'chrome'
},
'latest-firefox': {
base: 'SauceLabs',
browserName: 'firefox'
},
'internet-explorer-9': {
base: 'SauceLabs',
browserName: 'internet explorer',
version: '9'
},
'safari-5': {
base: 'SauceLabs',
platform: "OS X 10.6",
browserName: 'safari',
version: '5'
},
'ios-6': {
base: 'SauceLabs',
platform: "OS X 10.8",
browserName: 'iphone',
version: "6.0"
},
'android-4': {
base: 'SauceLabs',
platform: "Linux",
device: 'Motorola Droid Razr Emulator',
browserName: 'android',
version: "4.0"
}
};
config.set({
frameworks: ['qunit'],
files: [
{ pattern: 'tests/images/circle.png', served: true, watched: false, included: false },
'bower_components/jquery/dist/jquery.min.js',
'bower_components/modernizr/modernizr.js',
'dist/circle-progress.js',
'tests/test_utils.js',
'tests/tests.js'
],
sauceLabs: {
testName: 'Unit Tests for jquery-circle-progress'
},
captureTimeout: 120000,
customLaunchers: customLaunchers,
browsers: Object.keys(customLaunchers),
reporters: ['dots', 'saucelabs'],
singleRun: true
});
};