language: go

go:
  - "1.7"
  - "1.8"
  - "1.9"
  - "1.10"
  - "1.11"

before_script:
  - go get -u golang.org/x/lint/golint
  - go get github.com/mattn/goveralls

script:
  - test -z $(gofmt -s -l ./*.go)
  - go test -v -covermode=count -coverprofile=profile.cov ./...
  - go vet ./...
  - goveralls -coverprofile=profile.cov -service=travis-ci -repotoken $COVERALLS_TOKEN || true
    

language: go

go:
  - "1.9"
  - "1.10"
  - "1.11"

before_script:
  - go get -u golang.org/x/lint/golint
  - go get github.com/mattn/goveralls

script:
  - test -z $(gofmt -s -l ./*.go)
  - go test -v -covermode=count -coverprofile=profile.cov ./...
  - go vet ./...
  - goveralls -coverprofile=profile.cov -service=travis-ci -repotoken $COVERALLS_TOKEN || true
    

Drop Travis for Go v1.7 and v1.8
Drop Travis for Go v1.7 and v1.8
