language: go
sudo: false

go:
  - 1.11.x
  - 1.12.x
  - tip

env:
  - GO111MODULE=on

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

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