From d9a704652b58cb46fbefc60f1111bf3eaed0014c Mon Sep 17 00:00:00 2001 From: Thomas Fillon Date: Fri, 18 Mar 2016 11:49:20 +0100 Subject: [PATCH] Travis: curl should now throw an error code with the --fail option --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 260e52e9..f8626b8b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,6 +28,6 @@ install: script: - docker-compose up -d - sleep 20 - - curl --retry 10 --retry-delay 5 -v http://localhost:8000/ + - curl --fail --retry 10 --retry-delay 5 -v http://localhost:8000/ - docker-compose stop -- 2.39.5