Module: Travis::Builder::Rails

Defined in:
lib/travis/builder/rails.rb

Instance Method Summary collapse

Instance Method Details

#on_finishObject



22
23
24
25
# File 'lib/travis/builder/rails.rb', line 22

def on_finish
  super
  post(:log => build['log'], :status => build['status'], :finished_at => build['finished_at'])
end

#on_log(chars) ⇒ Object



17
18
19
20
# File 'lib/travis/builder/rails.rb', line 17

def on_log(chars)
  super
  post(:log => chars, :append => true)
end

#on_startObject



12
13
14
15
# File 'lib/travis/builder/rails.rb', line 12

def on_start
  super
  post(:started_at => build['started_at'])
end

#work!Object



7
8
9
10
# File 'lib/travis/builder/rails.rb', line 7

def work!
  @done = []
  super
end