mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
Forcibly kill Docker when Travis ends
May fix tests timing out.
This commit is contained in:
parent
f3d273864d
commit
24a6d1d836
@ -13,7 +13,7 @@ source /home/travis/virtualenv/python${TRAVIS_PYTHON_VERSION}/bin/activate
|
||||
env
|
||||
|
||||
# Kill background processes on exit
|
||||
trap 'kill $(jobs -p)' SIGINT SIGTERM EXIT
|
||||
trap 'kill -9 $(jobs -p)' SIGINT SIGTERM EXIT
|
||||
|
||||
# Start docker daemon
|
||||
docker -d -H unix:///var/run/docker.sock 2>> /dev/null >> /dev/null &
|
||||
|
Loading…
x
Reference in New Issue
Block a user