language: go

go:
  - 1.7
  - 1.8
  - 1.9

before_script:
  - go get github.com/golang/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
    

language: go

go:
  - 1.7
  - 1.8
  - 1.9

before_script:
  - go get github.com/golang/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
    

Make sure Travis doesn't fail in PRs because of Coveralls
Make sure Travis doesn't fail in PRs because of Coveralls
