DEV: Add travis_fold to termination stage
This commit is contained in:
parent
26bd67a865
commit
9461c99210
|
@ -141,6 +141,7 @@ task 'docker:test' do
|
||||||
end
|
end
|
||||||
|
|
||||||
ensure
|
ensure
|
||||||
|
puts "travis_fold:start:terminating" if ENV["TRAVIS"]
|
||||||
puts "Terminating"
|
puts "Terminating"
|
||||||
|
|
||||||
if ENV['PAUSE_ON_TERMINATE']
|
if ENV['PAUSE_ON_TERMINATE']
|
||||||
|
@ -152,6 +153,7 @@ task 'docker:test' do
|
||||||
Process.kill("TERM", @pg_pid) if @pg_pid
|
Process.kill("TERM", @pg_pid) if @pg_pid
|
||||||
Process.wait @redis_pid if @redis_pid
|
Process.wait @redis_pid if @redis_pid
|
||||||
Process.wait @pg_pid if @pg_pid
|
Process.wait @pg_pid if @pg_pid
|
||||||
|
puts "travis_fold:end:terminating" if ENV["TRAVIS"]
|
||||||
end
|
end
|
||||||
|
|
||||||
if !@good
|
if !@good
|
||||||
|
|
Loading…
Reference in New Issue