diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2019-12-20 00:04:38 -0800 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2019-12-20 00:04:38 -0800 |
commit | dc46aa2b9a583a0447d89aff36eef7b697a40401 (patch) | |
tree | 8eaa5372280bcb329129cac95eaaaa2798351e23 | |
parent | Portage::Util::Maskfile: non-fatal if not exists (diff) | |
download | packages-5-dc46aa2b9a583a0447d89aff36eef7b697a40401.tar.gz packages-5-dc46aa2b9a583a0447d89aff36eef7b697a40401.tar.bz2 packages-5-dc46aa2b9a583a0447d89aff36eef7b697a40401.zip |
travis: use bionic and faster curl
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 74bdb9e..56a2c6c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ language: ruby +dist: bionic cache: bundler rvm: - 2.5.7 @@ -35,9 +36,8 @@ before_install: before_script: - cp config/secrets.yml.dist config/secrets.yml # Wait for Elasticsearch - - sleep 10 - # Check ES output! - - curl --connect-timeout 1 -o - 'http://127.0.0.1:9200/_cat/health?format=json&v&pretty' + # If it starts up in less than 10 seconds, this wins! + - curl --retry-delay 1 --retry-connrefused --retry 10 --connect-timeout 1 --max-time 15 -o - 'http://127.0.0.1:9200/_cat/health?format=json&v&pretty' script: # This code needs style improvements before higher strictness in lint. |