Forcibly kill Docker when Travis ends
May fix tests timing out.
This commit is contained in:
parent
f3d273864d
commit
24a6d1d836
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ source /home/travis/virtualenv/python${TRAVIS_PYTHON_VERSION}/bin/activate
|
||||||
env
|
env
|
||||||
|
|
||||||
# Kill background processes on exit
|
# Kill background processes on exit
|
||||||
trap 'kill $(jobs -p)' SIGINT SIGTERM EXIT
|
trap 'kill -9 $(jobs -p)' SIGINT SIGTERM EXIT
|
||||||
|
|
||||||
# Start docker daemon
|
# Start docker daemon
|
||||||
docker -d -H unix:///var/run/docker.sock 2>> /dev/null >> /dev/null &
|
docker -d -H unix:///var/run/docker.sock 2>> /dev/null >> /dev/null &
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue