From fa0730f745b0fce6ce7f54cecad8f52753f7132d Mon Sep 17 00:00:00 2001 From: Joe Ferguson Date: Fri, 5 Oct 2018 13:44:34 -0700 Subject: [PATCH] Add "pgp-happy-eyeballs" in Travis to help cut down on gpg-related issues --- .travis.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index f2b02d554..6aa409e70 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,12 +12,18 @@ install: before_script: - env | sort - - cd "$VERSION" + - wget -qO- 'https://github.com/tianon/pgp-happy-eyeballs/raw/master/hack-my-builds.sh' | bash + - cd "$VERSION/$VARIANT" - image="logstash:${VERSION}${VARIANT:+-$VARIANT}" script: - - travis_retry docker build -t "$image" "${VARIANT:-.}" - - ~/official-images/test/run.sh "$image" + - | + ( + set -Eeuo pipefail + set -x + docker build -t "$image" . + ~/official-images/test/run.sh "$image" + ) after_script: - docker images