Skip to content

Commit

Permalink
Add CI tests for ARM64
Browse files Browse the repository at this point in the history
  • Loading branch information
Ciprian Hacman authored and hakman committed Jan 28, 2021
1 parent 8daa61c commit 396c684
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
@@ -1,13 +1,19 @@
language: go
dist: xenial
arch:
- amd64
- arm64
dist: focal
go:
- 1.12.x
- 1.13.x
- 1.15.x
script:
- diff -u <(echo -n) <(gofmt -d *.go)
- diff -u <(echo -n) <(golint $(go list -e ./...) | grep -v YAMLToJSON)
- GO111MODULE=on go vet .
- GO111MODULE=on go test -v -race ./...
- if [[ $TRAVIS_CPU_ARCH == "arm64" ]]; then
GOARCH=arm GOARM=7 GO111MODULE=on go test -v ./...;
fi
- git diff --exit-code
install:
- GO111MODULE=off go get golang.org/x/lint/golint

0 comments on commit 396c684

Please sign in to comment.