Skip to content

Commit

Permalink
fix sauce labs + travis for PRs (#2250)
Browse files Browse the repository at this point in the history
travis does not add the sauce labs addon for PRs
  • Loading branch information
jhchen authored Aug 14, 2018
1 parent c712420 commit 7f3c244
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 0 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ dist: trusty
cache:
directories:
- node_modules
addons:
sauce_connect:
username: "quill"
# There is no way to securely allow community PRs to be built and tested
# by Travis and SauceLabs. Please do not abuse.
access_key: "ced60aed-80ad-436b-9ba8-690ed1205180"
env:
matrix:
- BROWSER=mac-chrome-latest
Expand Down
5 changes: 4 additions & 1 deletion _develop/karma.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,17 @@ module.exports = config => {
'record-screenshots': false,
},
build: sauce.build,
// There is no way to securely allow community PRs to be built and tested
// by Travis and SauceLabs. Please do not abuse.
username: 'quill',
accessKey: 'ced60aed-80ad-436b-9ba8-690ed1205180',
tunnelIdentifier: sauce.tunnel,
},
customLaunchers: browsers,
});

/* eslint-disable no-param-reassign */
if (process.env.TRAVIS) {
config.sauceLabs.startConnect = false;
config.transports = ['polling'];
config.browsers = [process.env.BROWSER];
config.browserDisconnectTimeout = 10000;
Expand Down

0 comments on commit 7f3c244

Please sign in to comment.