From 267c7d994e15422a122915280342a4a3cc2f7834 Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Wed, 4 Nov 2020 12:51:01 +0300 Subject: [PATCH] .travis.yml Use `curl` with connection timeout This should fix current build failure with timeout https://travis-ci.org/github/chubin/cheat.sh/builds/741308362#L402 --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f64a78e..21b10e2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,8 +10,7 @@ before_install: - docker-compose ps script: - - sleep 3 - - curl http://localhost:8002 + - curl --connect-timeout 10 http://localhost:8002 - docker-compose logs --no-color - docker logs chtsh - CHEATSH_TEST_STANDALONE=NO bash tests/run-tests.sh