Travis: run tests on arm64
Signed-off-by: Casey Callendrello <cdc@redhat.com>
This commit is contained in:
parent
e78e6aa5b9
commit
1a7f1bd8b1
12
.travis.yml
12
.travis.yml
@ -11,10 +11,10 @@ env:
|
|||||||
- PATH=$GOROOT/bin:$GOPATH/bin:$PATH
|
- PATH=$GOROOT/bin:$GOPATH/bin:$PATH
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
matrix:
|
matrix:
|
||||||
|
# note: arm64 is tested below
|
||||||
- TARGET=386
|
- TARGET=386
|
||||||
- TARGET=amd64
|
- TARGET=amd64
|
||||||
- TARGET=arm
|
- TARGET=arm
|
||||||
- TARGET=arm64
|
|
||||||
- TARGET=ppc64le
|
- TARGET=ppc64le
|
||||||
- TARGET=s390x
|
- TARGET=s390x
|
||||||
- TARGET=mips64le
|
- TARGET=mips64le
|
||||||
@ -28,6 +28,14 @@ matrix:
|
|||||||
- os: windows
|
- os: windows
|
||||||
env: TARGET=amd64
|
env: TARGET=amd64
|
||||||
go: 1.14.x
|
go: 1.14.x
|
||||||
|
- os: linux
|
||||||
|
env: TARGET=arm64
|
||||||
|
go: 1.13.x
|
||||||
|
arch: arm64
|
||||||
|
- os: linux
|
||||||
|
env: TARGET=arm64
|
||||||
|
go: 1.14.x
|
||||||
|
arch: arm64
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- go get github.com/onsi/ginkgo/ginkgo
|
- go get github.com/onsi/ginkgo/ginkgo
|
||||||
@ -39,7 +47,7 @@ install:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
if [ "${TARGET}" == "amd64" ]; then
|
if [ "${TARGET}" == $(go env GOARCH) ]; then
|
||||||
GOARCH="${TARGET}" ./test_${TRAVIS_OS_NAME}.sh
|
GOARCH="${TARGET}" ./test_${TRAVIS_OS_NAME}.sh
|
||||||
else
|
else
|
||||||
GOARCH="${TARGET}" ./build_linux.sh
|
GOARCH="${TARGET}" ./build_linux.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user