language: go

go:
  - 1.12.x
  - 1.13.x
  - tip

matrix:
  allow_failures:
    - go: tip

script:
  - go test -race -coverprofile=coverage.txt -covermode=atomic

after_success:
  - bash <(curl -s https://codecov.io/bash)
