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