adding debugging to integ test

pull/3/head
josebarn 8 years ago
parent a249c33bc6
commit 21ecc27a94

@ -6,7 +6,8 @@ docker-compose -p ci --file docker-compose.test.yml up --build
echo "Inspecting exited containers:"
docker-compose -p ci --file docker-compose.test.yml ps
docker-compose -p ci --file docker-compose.test.yml ps -q | xargs docker inspect -f '{{ .State.ExitCode }}' | while read code; do
docker-compose -p ci --file docker-compose.test.yml ps -q | xargs docker inspect -p ci -f '{{ .State.ExitCode }}' | while read code; do
echo "Exit code is currently $code"
if [ "$code" != "0" ]; then
exit $code
fi

Loading…
Cancel
Save