language: go
go:
  - tip
  - 1.13.x
  - 1.12.x
  - 1.11.x
  - 1.10.x

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

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

matrix:
  allow_failures:
    - go: tip