Try a different configuration to make SauceConnect work in Travis again
This commit is contained in:
@@ -15,11 +15,14 @@ module.exports = function(karma) {
|
||||
karma.set({
|
||||
frameworks: ['mocha'],
|
||||
client: {
|
||||
runInParent: true
|
||||
runInParent: true,
|
||||
mocha: {
|
||||
timeout: 2500
|
||||
}
|
||||
},
|
||||
files: [
|
||||
{
|
||||
pattern: 'https://cdn.polyfill.io/v2/polyfill.min.js?features=URL|gated',
|
||||
pattern: path.resolve(__dirname, require.resolve('url-polyfill/url-polyfill.js')),
|
||||
watched: false
|
||||
},
|
||||
{
|
||||
@@ -98,7 +101,7 @@ module.exports = function(karma) {
|
||||
// },
|
||||
SL_Safari: {
|
||||
base: 'SauceLabs',
|
||||
platform: 'macos 10.12',
|
||||
platform: 'macOS 10.12',
|
||||
browserName: 'safari'
|
||||
}
|
||||
};
|
||||
@@ -106,15 +109,18 @@ module.exports = function(karma) {
|
||||
sauceLabs: {
|
||||
testName: testName,
|
||||
recordScreenshots: false,
|
||||
connectOptions: {
|
||||
port: 5757
|
||||
},
|
||||
startConnect: false,
|
||||
startConnect: true,
|
||||
tunnelIdentifier: process.env.TRAVIS_JOB_NUMBER,
|
||||
username: 'openlayers',
|
||||
accessKey: process.env.SAUCE_ACCESS_KEY
|
||||
accessKey: process.env.SAUCE_ACCESS_KEY,
|
||||
connectOptions: {
|
||||
noSslBumpDomains: 'all'
|
||||
}
|
||||
},
|
||||
hostname: 'travis.dev',
|
||||
reporters: ['dots', 'saucelabs', 'coverage'],
|
||||
browserDisconnectTimeout: 10000,
|
||||
browserDisconnectTolerance: 1,
|
||||
captureTimeout: 240000,
|
||||
browserNoActivityTimeout: 240000,
|
||||
customLaunchers: customLaunchers,
|
||||
|
||||
Reference in New Issue
Block a user