From 2faf541c931862b87c96ae9fe6aa3f72260adcb8 Mon Sep 17 00:00:00 2001 From: cytopia Date: Sat, 8 Jul 2017 14:16:55 +0200 Subject: [PATCH] DVL-012 Stop all container during travis checks --- .tests/.lib.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.tests/.lib.sh b/.tests/.lib.sh index 95103d1d..29e16f8b 100644 --- a/.tests/.lib.sh +++ b/.tests/.lib.sh @@ -315,6 +315,11 @@ devilbox_pull() { devilbox_start() { + # Make sure everything is stopped and defaulted + sudo service docker restart || true + sleep 5 + devilbox_stop + # Make sure to start until success ret=1 while [ "${ret}" != "0" ]; do