From 61c0f5179dc8c68faab9113ff82b9c188ba4468c Mon Sep 17 00:00:00 2001 From: Mathias Meyer Date: Fri, 10 May 2013 23:19:07 +0200 Subject: [PATCH] Add Blue Box as the default sponsor of a test run. --- assets/scripts/app/models/job.coffee | 12 ++++----- assets/scripts/data/sponsors.coffee | 38 ---------------------------- 2 files changed, 5 insertions(+), 45 deletions(-) diff --git a/assets/scripts/app/models/job.coffee b/assets/scripts/app/models/job.coffee index 30251213..089da885 100644 --- a/assets/scripts/app/models/job.coffee +++ b/assets/scripts/app/models/job.coffee @@ -52,13 +52,11 @@ require 'travis/model' @get('log').clear() sponsor: (-> - worker = @get('log.workerName') - if worker && worker.length - Travis.WORKERS[worker] || { - name: "Travis Pro" - url: "http://travis-ci.com" - } - ).property('log.workerName') + { + name: "Blue Box" + url: "http://bluebox.net" + } + ).property() configValues: (-> config = @get('config') diff --git a/assets/scripts/data/sponsors.coffee b/assets/scripts/data/sponsors.coffee index bb97bf07..1d6daa59 100644 --- a/assets/scripts/data/sponsors.coffee +++ b/assets/scripts/data/sponsors.coffee @@ -46,41 +46,3 @@ { id: '43', type: 'silver', link: "BusyConf: Conferences and Events Made Easy"} ] -@Travis.WORKERS = { - "jvm-otp1.worker.travis-ci.org": - name: "Travis Pro" - url: "http://travis-ci.com" - "jvm-otp2.worker.travis-ci.org": - name: "Transloadit" - url: "http://transloadit.com" - "ppp1.worker.travis-ci.org": - name: "Travis Pro" - url: "http://beta.travis-ci.com" - "ppp2.worker.travis-ci.org": - name: "EnterpriseRails" - url: "http://www.enterprise-rails.com" - "ppp3.worker.travis-ci.org": - name: "Alchemy CMS" - url: "http://alchemy-cms.com/" - "rails1.worker.travis-ci.org": - name: "EnterpriseRails" - url: "http://www.enterprise-rails.com" - "ruby1.worker.travis-ci.org": - name: "Engine Yard" - url: "http://www.engineyard.com" - "ruby2.worker.travis-ci.org": - name: "EnterpriseRails" - url: "http://www.enterprise-rails.com" - "ruby3.worker.travis-ci.org": - name: "Railslove" - url: "http://railslove.de" - "ruby4.worker.travis-ci.org": - name: "Engine Yard" - url: "http://www.engineyard.com" - "spree.worker.travis-ci.org": - name: "Spree" - url: "http://spreecommerce.com" - "staging.worker.travis-ci.org": - name: "EnterpriseRails" - url: "http://www.enterprise-rails.com" -}