general: fix travis multiarch

This commit is contained in:
Lan Tian 2020-11-09 01:37:09 +08:00
parent b98d783739
commit 438c6a1f82
No known key found for this signature in database
GPG Key ID: 3D2E9DC81E5791C7

View File

@ -17,8 +17,14 @@ env:
- PROGRAM=proxy IMAGE_NAME=bird-lgproxy-go IMAGE_ARCH=ppc64le
- PROGRAM=proxy IMAGE_NAME=bird-lgproxy-go IMAGE_ARCH=s390x
addons:
apt:
update: true
packages:
- qemu-user-static
- binfmt-support
install:
- docker run --rm --privileged multiarch/qemu-user-static:register --reset
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
script: