language: go
os:
  - linux
  - osx
sudo: false
go:
  - 1.12.x
  - 1.13.x
env:
  - CGO_ENABLED=0 GO111MODULE=off
  - CGO_ENABLED=0 GO111MODULE=on
jobs:
  include:
    # NOTE: Coverages are not enabled for pull requests yet
    - stage: deploy
      name: Generate and upload Linux coverage profiles
      script: make coverage-travis
      if: type = push AND branch = master
      os: linux
    - name: Generate and upload macOS coverage profiles
      script: make coverage-travis
      if: type = push AND branch = master
      os: osx
    - name: Build and upload binaries to bintray
      script: make binaries-travis
      if: type = push AND branch = master
script: make test

language: go
arch:
  - amd64
  - arm64
os:
  - linux
  - osx
sudo: false
go:
  - 1.12.x
  - 1.13.x
env:
  - CGO_ENABLED=0 GO111MODULE=off
  - CGO_ENABLED=0 GO111MODULE=on
jobs:
  include:
    # NOTE: Coverages are not enabled for pull requests yet
    - stage: deploy
      name: Generate and upload Linux coverage profiles
      script: make coverage-travis
      if: type = push AND branch = master
      os: linux
    - name: Generate and upload macOS coverage profiles
      script: make coverage-travis
      if: type = push AND branch = master
      os: osx
    - name: Build and upload binaries to bintray
      script: make binaries-travis
      if: type = push AND branch = master
script: make test

Build on arm64 on Travis CI.
Build on arm64 on Travis CI.
