diff options
author | Marco Poletti <poletti.marco@gmail.com> | 2018-09-15 12:30:40 +0100 |
---|---|---|
committer | Marco Poletti <poletti.marco@gmail.com> | 2018-09-15 12:30:44 +0100 |
commit | 5c43c9b07eeddd1ab8d187c801c8f086c72777b6 (patch) | |
tree | fb9daee91d27273fd0c73b6e6c9b1bb898715a8a /extras | |
parent | 649b155b2dbb4f75be848c6d9793d8d690e6b376 (diff) | |
download | google-fruit-5c43c9b07eeddd1ab8d187c801c8f086c72777b6.tar.gz |
(try to) fix the Travis CI config for ARM.
Diffstat (limited to 'extras')
-rwxr-xr-x | extras/scripts/postsubmit.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extras/scripts/postsubmit.sh b/extras/scripts/postsubmit.sh index 5f26827..a3e4716 100755 --- a/extras/scripts/postsubmit.sh +++ b/extras/scripts/postsubmit.sh @@ -13,7 +13,8 @@ case $OS in linux*) case $OS in linux) DOCKER_IMAGE="polettimarco/fruit-basesystem:ubuntu-$UBUNTU" ;; - linux-arm) DOCKER_IMAGE="polettimarco/fruit-basesystem:ubuntu_arm-$UBUNTU" ;; + linux-arm) docker run --rm --privileged multiarch/qemu-user-static:register --reset + DOCKER_IMAGE="polettimarco/fruit-basesystem:ubuntu_arm-$UBUNTU" ;; esac docker rm -f fruit &>/dev/null || true docker run -d -it --name fruit --privileged "${DOCKER_IMAGE}" |