Skip to content

Commit

Permalink
Add more sauce browsers, switch sauce user
Browse files Browse the repository at this point in the history
  • Loading branch information
KidkArolis committed Aug 31, 2015
1 parent 02141db commit b14a586
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Expand Up @@ -5,4 +5,7 @@ node_js:
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script: "npm test && karma start karma.conf-ci.js"
script: "npm test && karma start karma.conf-ci.js"
env:
global:
- SAUCE_USERNAME=cherrytree
29 changes: 26 additions & 3 deletions karma.conf-ci.js
Expand Up @@ -23,11 +23,23 @@ var customLaunchers = {
base: 'SauceLabs',
browserName: 'firefox'
},
'SL_Firefox19': {
base: 'SauceLabs',
browserName: 'firefox',
platform: 'Windows XP',
version: '19'
},
'SL_Safari': {
base: 'SauceLabs',
browserName: 'safari',
platform: 'OS X 10.9',
version: '7'
platform: 'OS X 10.10',
version: '8'
},
'SL_IE_8': {
base: 'SauceLabs',
browserName: 'internet explorer',
platform: 'Windows XP',
version: '8'
},
'SL_IE_9': {
base: 'SauceLabs',
Expand All @@ -46,13 +58,24 @@ var customLaunchers = {
browserName: 'internet explorer',
platform: 'Windows 8.1',
version: '11'
},
'SL_iOS': {
base: 'SauceLabs',
browserName: 'iphone',
platform: 'OS X 10.10',
version: '8.1'
},
'SL_Android': {
browserName: 'android',
platform: 'Linux',
version: '4.0'
}
}

module.exports = function (c) {
c.set(_.extend(config, {
sauceLabs: {
testName: 'Cherrytree Tests'
testName: 'Cherrytree'
},
customLaunchers: customLaunchers,
browsers: Object.keys(customLaunchers),
Expand Down

0 comments on commit b14a586

Please sign in to comment.