DEV: Add travis_fold to termination stage

This commit is contained in:
David Taylor 2018-09-12 18:59:48 +01:00
parent 26bd67a865
commit 9461c99210
1 changed files with 2 additions and 0 deletions

View File

@ -141,6 +141,7 @@ task 'docker:test' do
end
ensure
puts "travis_fold:start:terminating" if ENV["TRAVIS"]
puts "Terminating"
if ENV['PAUSE_ON_TERMINATE']
@ -152,6 +153,7 @@ task 'docker:test' do
Process.kill("TERM", @pg_pid) if @pg_pid
Process.wait @redis_pid if @redis_pid
Process.wait @pg_pid if @pg_pid
puts "travis_fold:end:terminating" if ENV["TRAVIS"]
end
if !@good