language: go

sudo: false

go:
#  - 1.3
#  - 1.4
#  - 1.5
#  - 1.6
#  - 1.7
#  - 1.8.x
#  - 1.9.x
  - 1.10.x
  - 1.11.x
  - tip

install:
  - go get -v -t ./...

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

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

matrix:
  allow_failures:
    - go: tip
