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 run --rm --privileged multiarch/qemu-user-static:register --reset
- docker login "--password=$DOCKER_PASS" "--username=$DOCKER_USER" - docker login "--password=$DOCKER_PASS" "--username=$DOCKER_USER"
env:
- ARCH="" BASE=""
- ARCH="arm" BASE="arm32v7"
- ARCH="aarch64 BASE="arm64v8"
script: script:
- ./build.sh - ./build.sh
- docker logout - docker logout

View File

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