language: go

go:
  - 1.10.x
  - 1.11.x

matrix:
  fast_finish: true
  include:
  - go: 1.11.x
    env: GO111MODULE=on

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

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