# File lib/travis/client/states.rb, line 65 def color case state when 'created', 'queued', 'received', 'started' then 'yellow' when 'passed', 'ready' then 'green' when 'errored', 'canceled', 'failed' then 'red' end end