Forcibly kill Docker when Travis ends

May fix tests timing out.
This commit is contained in:
Ben Firshman 2014-01-19 19:56:29 +00:00
parent f3d273864d
commit 24a6d1d836
1 changed files with 1 additions and 1 deletions

View File

@ -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 &