Skip to content

Commit

Permalink
Overwrite environment vars instead of configs
Browse files Browse the repository at this point in the history
Sauce launcher checks environment vars first
  • Loading branch information
jhchen committed May 23, 2014
1 parent 19200d4 commit 7627213
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/karma.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ module.exports = function(config) {
config.sauceLabs.build = 'travis-' + process.env.TRAVIS_BUILD_ID;
}
if (process.env.TRAVIS_BRANCH !== 'master' || process.env.TRAVIS_PULL_REQUEST !== 'false') {
config.sauceLabs.username = 'quill';
config.sauceLabs.accessKey = 'adc0c0cf-221b-46f1-81b9-a4429b722c2e';
process.env.SAUCE_USERNAME = 'quill';
process.env.SAUCE_ACCESS_KEY = 'adc0c0cf-221b-46f1-81b9-a4429b722c2e';
}
}

0 comments on commit 7627213

Please sign in to comment.