after_success:
- bash <(curl -s https://codecov.io/bash)
go:
- 1.14.x
- 1.x
arch:
- amd64
jobs:
  include:
  # include arch ppc, but only for latest go version - skip testing for race
  - go: 1.x
    arch: ppc64le
    install: ~
    script:
    - go test -v

  #- go: 1.x
  #  arch: arm
  #  install: ~
  #  script:
  #  - go test -v

  # include linting job, but only for latest go version and amd64 arch
  - go: 1.x
    arch: amd64
    install:
      go get github.com/golangci/golangci-lint/cmd/golangci-lint
    script:
    - golangci-lint run --new-from-rev master
install:
- GO111MODULE=off go get -u gotest.tools/gotestsum
language: go
notifications:
  slack:
    secure:  
script:
- gotestsum -f short-verbose -- -race -coverprofile=coverage.txt -covermode=atomic ./...
