Update .travis.yml for arm64 support, etc.
authorAnthony Fok <foka@debian.org>
Fri, 1 Nov 2019 15:46:54 +0000 (09:46 -0600)
committerAnthony Fok <foka@debian.org>
Fri, 1 Nov 2019 17:03:06 +0000 (11:03 -0600)
commitae4fde0866b2a10f0a414e0d76c4ff09bed3776e
treedc7365dbf50bf2f40fd62871a2456b25caea163a
parentc6d69d0c95c42915956c210dbac8b884682d4a3e
Update .travis.yml for arm64 support, etc.

- Add arm64 support for Linux thanks to Travis CI’s new feature, see
  https://blog.travis-ci.com/2019-10-07-multi-cpu-architecture-support
- Force GO111MODULE=on
- Cache directories
- Switch to bionic (Ubuntu 18.04) environment
- Use "master" instead of "tip" to match the latest Travis CI docs
- Allow "mage -v check" to fail on non-AMD64 architectures
  because "go test -race ./..." currently fails on arm64 and ppc64le.
.travis.yml