Module: Travis::Builder::Pusher

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

Instance Method Summary collapse

Instance Method Details

#on_finishObject



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

def on_finish
  super
  push 'build:finished', :build => build
end

#on_log(log) ⇒ Object



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

def on_log(log)
  super
  push 'build:log', :build => { :id => build['id'], :repository => { :id => build['repository']['id'] } }, :log => log
end

#on_startObject



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

def on_start
  super
  push 'build:started', :build => build
end