Keine Beschreibung

.travis.yml 466B

123456789101112131415161718
  1. sudo: false
  2. language: go
  3. go:
  4. - 1.7
  5. - 1.8
  6. - 1.9
  7. - "1.10"
  8. - tip
  9. before_install:
  10. - go get golang.org/x/tools/cmd/cover
  11. - go get github.com/mattn/goveralls
  12. - go get github.com/golang/lint/golint
  13. script:
  14. - go test -v -covermode=count -coverprofile=coverage.out
  15. - go vet ./...
  16. - test -z "$(gofmt -d -s . | tee /dev/stderr)"
  17. - test -z "$(golint ./... | tee /dev/stderr)"
  18. - $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci