Skip to content

Commit

Permalink
fix travis not using master account on master
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchen committed May 14, 2014
1 parent d094ecf commit d56bd2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/karma.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ module.exports = function(config) {
if (process.env.TRAVIS) {
config.transports = ['xhr-polling'];
config.sauceLabs.build = 'travis-' + process.env.TRAVIS_BUILD_ID;
if (process.env.TRAVIS_BRANCH !== 'master' || process.env.TRAVIS_PULL_REQUEST) {
if (process.env.TRAVIS_BRANCH !== 'master' || process.env.TRAVIS_PULL_REQUEST !== 'false') {
config.sauceLabs.username = 'quill';
config.sauceLabs.accessKey = 'adc0c0cf-221b-46f1-81b9-a4429b722c2e';
}
Expand Down

0 comments on commit d56bd2f

Please sign in to comment.