travis: build matrix

This commit is contained in:
Jacek Sieka 2018-11-13 15:26:31 -06:00
parent 460da50920
commit b9a5f5e700
No known key found for this signature in database
GPG Key ID: 6299FEB3EB6FA465
2 changed files with 10 additions and 3 deletions

View File

@ -11,6 +11,11 @@ before_install:
#- docker run --rm --privileged multiarch/qemu-user-static:register --reset
- docker login "--password=$DOCKER_PASS" "--username=$DOCKER_USER"
env:
- ARCH="" BASE=""
- ARCH="arm" BASE="arm32v7"
- ARCH="aarch64 BASE="arm64v8"
script:
- ./build.sh
- docker logout

View File

@ -30,7 +30,9 @@ then
buildAndPush debian-pre-nim
fi
#buildAndPush nim-base
#buildAndPushArch arm32v7 arm
buildAndPushArch arm64v8 aarch64
if [ "$BASE" == "" -o "$ARCH" == "" ]; then
buildAndPush nim-base
else
buildAndPushArch $BASE $ARCH
fi