From 6f5a479e534c8b1fa3fee40616cc0354f2606ac7 Mon Sep 17 00:00:00 2001 From: Peter Varsanyi Date: Sun, 10 Jun 2018 19:36:14 -0700 Subject: [PATCH] fix arch variable --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0ea8b3785..d7c006deb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ env: - QEMU_ARCH=arm ARCH=armhf - QEMU_ARCH=aarch64 ARCH=arm64 script: -- if [ "$ARCH" != "amd64" ]; then curl -L -o qemu-$ARCH-static https://github.com/multiarch/qemu-user-static/releases/download/${QEMU_VERSION}/qemu-$QEMU_ARCH-static; chmod u+x qemu-$QEMU_ARCH-static; fi +- if [ "$ARCH" != "amd64" ]; then curl -L -o qemu-$QEMU_ARCH-static https://github.com/multiarch/qemu-user-static/releases/download/${QEMU_VERSION}/qemu-$QEMU_ARCH-static; chmod u+x qemu-$QEMU_ARCH-static; fi - docker run --rm --privileged multiarch/qemu-user-static:register - docker build -t $REPO:$COMMIT-$ARCH -f Dockerfile.$ARCH . after_success: