From af3787d31d86f0a612923d3e434a0bb6742ffcd2 Mon Sep 17 00:00:00 2001 From: Tilo Spannagel Date: Tue, 19 Jun 2018 09:49:13 +0200 Subject: [PATCH] Add pgp-happy-eyeballs to travis Signed-off-by: Tilo Spannagel --- .travis.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index e3f8b3a78..3e3b08572 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,13 +14,19 @@ install: before_script: - env | sort + - wget -qO- 'https://github.com/tianon/pgp-happy-eyeballs/raw/master/hack-my-builds.sh' | bash - image="nextcloud:${VERSION}${VARIANT:+-$VARIANT}" - if [[ "$ARCH" == 'i386' ]]; then sed -i -e 's/FROM php/FROM i386\/php/g' "${VERSION}/${VARIANT}/Dockerfile"; fi script: - - travis_retry docker build -t "$image" "${VERSION}/${VARIANT}" - - ~/official-images/test/run.sh "$image" - - .travis/test-example-dockerfiles.sh "$image" + - | + ( + set -Eeuo pipefail + set -x + docker build -t "$image" "${VERSION}/${VARIANT}" + ~/official-images/test/run.sh "$image" + .travis/test-example-dockerfiles.sh "$image" + ) after_script: - docker images