travis: build with arm64 on linux
MODIFY
.travis.yml
.travis.yml
@@ -14,6 +14,10 @@ os:
- osx
- windows
+arch:
+ - amd64
+ - arm64
+
env:
global:
- GO111MODULE=on
@@ -36,6 +40,16 @@ git:
matrix:
fast_finish: true
exclude:
+ - os: linux
+ arch: arm64
+ env: TAGS="-tags bounds"
+ - os: linux
+ arch: arm64
+ env: TAGS="-tags noasm"
+ - os: linux
+ arch: arm64
+ env: TAGS="-tags appengine"
+
- os: osx
env: TAGS="-tags bounds"
- os: osx
@@ -43,6 +57,9 @@ matrix:
- os: osx
env: TAGS="-tags appengine"
+ - os: osx
+ arch: arm64
+
- os: osx
go: master
@@ -53,6 +70,9 @@ matrix:
- os: windows
env: TAGS="-tags appengine"
+ - os: windows
+ arch: arm64
+
- os: windows
go: master
allow_failures:

travis: build with arm64 on linux