diff --git a/lib/travis/tasks/config.rb b/lib/travis/tasks/config.rb index 703f980b..e04954b0 100644 --- a/lib/travis/tasks/config.rb +++ b/lib/travis/tasks/config.rb @@ -42,17 +42,17 @@ def http_basic_auth assets: { host: HOSTS[Travis.env.to_sym] }, s3: { url: 'https://s3.amazonaws.com/travis-email-assets'}, irc: { freenode_password: nil, nick: nil }, - librato: { email: nil, token: nil }, + librato: { email: nil, token: ENV['TRAVIS_METRICS_LIBRATO_TOKEN'] || nil }, intercom: { token: 'token' }, auth: { jwt_public_key: ENV['JWT_RSA_PUBLIC_KEY'], http_basic_auth: http_basic_auth }, github_apps: { debug: ENV['GITHUB_APPS_DEBUG'] }, github_status: { }, - vcs: { url: 'https://travis-vcs-staging.herokuapp.com/', token: '' }, + vcs: { url: 'https://travis-vcs-staging.herokuapp.com/', token: ENV['TRAVIS_VCS_TOKEN'] || '' }, enterprise_platform: { host: ENV['TRAVIS_HOSTNAME']}, plan_path: 'plan', purchase_path: 'purchase', settings_path: 'settings', - intercom: { token: 'token' } + intercom: { token: ENV['TRAVIS_INTERCOM_TOKEN'] || 'token' } default _access: [:key]