Skip to content

Commit f9b5575

Browse files
committed
fix: remove souce labs
1 parent 5fd37a5 commit f9b5575

File tree

1 file changed

+1
-48
lines changed

1 file changed

+1
-48
lines changed

karma.conf.js

Lines changed: 1 addition & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -2,53 +2,6 @@
22

33
const path = require('path')
44

5-
const customLaunchers = {
6-
sl_chrome: {
7-
base: 'SauceLabs',
8-
browserName: 'chrome',
9-
platform: 'Windows 10',
10-
version: '51.0'
11-
},
12-
sl_firefox: {
13-
base: 'SauceLabs',
14-
browserName: 'firefox',
15-
platform: 'Windows 10',
16-
version: '47.0'
17-
},
18-
sl_ie10: {
19-
base: 'SauceLabs',
20-
browserName: 'internet explorer',
21-
platform: 'Windows 7',
22-
version: '10.0',
23-
},
24-
sl_ie11: {
25-
base: 'SauceLabs',
26-
browserName: 'internet explorer',
27-
platform: 'Windows 10',
28-
version: '11.0',
29-
},
30-
sl_edge: {
31-
base: 'SauceLabs',
32-
browserName: 'MicrosoftEdge',
33-
platform: 'Windows 10',
34-
version: '13.10586'
35-
},
36-
sl_safari: {
37-
base: 'SauceLabs',
38-
browserName: 'safari',
39-
platform: 'OS X 10.11',
40-
version: '9.0',
41-
},
42-
}
43-
44-
const isTravis = process.env.TRAVIS === 'true'
45-
const isFirstJob = /\.1$/.test(process.env.TRAVIS_JOB_NUMBER)
46-
47-
const browsers = ['PhantomJS']
48-
if (isTravis && isFirstJob) {
49-
Array.prototype.push.apply(browsers, Object.keys(customLaunchers))
50-
}
51-
525
module.exports = function(config) {
536

547
config.set({
@@ -68,7 +21,7 @@ module.exports = function(config) {
6821
colors: true,
6922
logLevel: config.LOG_INFO,
7023
autoWatch: true,
71-
browsers: browsers,
24+
browsers: ['PhantomJS'],
7225
customLaunchers: customLaunchers,
7326
singleRun: false,
7427

0 commit comments

Comments
 (0)