sudo: false

language: go
go:
  - 1.9.x
  - 1.10.x
  - tip

matrix:
  allow_failures:
  - go: tip

before_install:
  - go get -u github.com/golang/dep/cmd/dep github.com/golang/lint/golint honnef.co/go/tools/cmd/megacheck

install:
  - dep ensure

before_script:
  - go vet
  - golint -set_exit_status=1
  - megacheck

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

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


sudo: false

language: go
go:
  - 1.9.x
  - 1.10.x
  - 1.11.x
  - tip

matrix:
  allow_failures:
  - go: tip

before_install:
  - go get -u github.com/golang/dep/cmd/dep github.com/golang/lint/golint honnef.co/go/tools/cmd/megacheck

install:
  - dep ensure

before_script:
  - go vet
  - golint -set_exit_status=1
  - megacheck

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

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

Add Travis CI env Go 1.11
Add Travis CI env Go 1.11
