Skip to content

Commit

Permalink
encrypt master branch sauce key
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchen committed May 14, 2014
1 parent 3b45673 commit 0651458
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 18 deletions.
30 changes: 17 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,20 @@ branches:
- /^sauce-.+$/
- /^v\d+\.\d+\.\d+$/
env:
- SAUCE_BROWSER=remote-mac-chrome
- SAUCE_BROWSER=remote-mac-firefox
- SAUCE_BROWSER=remote-mac-safari
- SAUCE_BROWSER=remote-windows-chrome
- SAUCE_BROWSER=remote-windows-firefox
- SAUCE_BROWSER=remote-windows-ie-11
- SAUCE_BROWSER=remote-windows-ie-10
- SAUCE_BROWSER=remote-windows-ie-9
- SAUCE_BROWSER=remote-linux-chrome
- SAUCE_BROWSER=remote-linux-firefox
- SAUCE_BROWSER=remote-ipad
- SAUCE_BROWSER=remote-iphone
- SAUCE_BROWSER=remote-android
global:
- secure: "SeXav7dHVe5RBv7pzdd4LIYNLLF2STKPuIw8lpo2X48Czb96wMLKYRcpehQiB8YPpACYryE0mpjEt0+qNLC2kxGLV57JP44ABTBbWS7MvrUwaKJILxr4usVInIJPHFPksN+oNjHwuRN8jR8a2pKQ0GBHeCcwKt0lIZZ8b7O12X4="
- secure: "WupAm8AsMBqQ8jZ1tLuXw8gHBUwV7NqwdcJ/idR8Fqum2RcHUzT5zlxlbmvjUMI6rJgjFLLF4gTHwNG219wskpuzEdXxLjpBqSmpUWyTlq2rgE9U/wT8H5/VWgH6v6Py1ZY6GxLdcC+Tqxf/5xupMfPoXPKbxpQ0DkYcVEfJkcU="
matrix:
- SAUCE_BROWSER=remote-mac-chrome
- SAUCE_BROWSER=remote-mac-firefox
- SAUCE_BROWSER=remote-mac-safari
- SAUCE_BROWSER=remote-windows-chrome
- SAUCE_BROWSER=remote-windows-firefox
- SAUCE_BROWSER=remote-windows-ie-11
- SAUCE_BROWSER=remote-windows-ie-10
- SAUCE_BROWSER=remote-windows-ie-9
- SAUCE_BROWSER=remote-linux-chrome
- SAUCE_BROWSER=remote-linux-firefox
- SAUCE_BROWSER=remote-ipad
- SAUCE_BROWSER=remote-iphone
- SAUCE_BROWSER=remote-android
8 changes: 3 additions & 5 deletions test/karma.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ module.exports = function(config) {
singleRun: true,
sauceLabs: {
testName: 'Quill',
username: 'quill',
accessKey: 'adc0c0cf-221b-46f1-81b9-a4429b722c2e',
build: os.hostname() + '-' + _.random(16*16*16*16).toString(16),
options: {
'public': 'public',
Expand All @@ -87,9 +85,9 @@ 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) {
config.sauceLabs.username = 'quill-master';
config.sauceLabs.accessKey = '685c8996-7b70-4543-8167-58f8e88a8484';
if (process.env.TRAVIS_BRANCH !== 'master' || process.env.TRAVIS_PULL_REQUEST) {
config.sauceLabs.username = 'quill';
config.sauceLabs.accessKey = 'adc0c0cf-221b-46f1-81b9-a4429b722c2e';
}
}
}

0 comments on commit 0651458

Please sign in to comment.