Add pgp-happy-eyeballs to travis
Signed-off-by: Tilo Spannagel <development@tilosp.de>
This commit is contained in:
parent
5ea9f6b612
commit
af3787d31d
12
.travis.yml
12
.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
|
||||
|
Loading…
Reference in New Issue
Block a user