From 67ef528168918e5037ec29a587219c6a101c910b Mon Sep 17 00:00:00 2001 From: Burak Yigit Kaya Date: Mon, 27 Apr 2020 17:10:22 +0300 Subject: [PATCH] ci(logs): Show docker-compose ps and logs on fail (#443) --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 8ec590d..761d998 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,3 +16,7 @@ script: - docker-compose up -d - timeout 60 bash -c 'until $(curl -Isf -o /dev/null http://localhost:9000); do printf '.'; sleep 0.5; done' - ./test.sh + +after_failure: + - docker-compose ps + - docker-compose logs