.travis.yml 356 B

123456789101112131415
  1. language: go
  2. sudo: false
  3. go:
  4. - 1.x
  5. - tip
  6. install:
  7. - go get github.com/golang/dep/cmd/dep
  8. - go get golang.org/x/tools/cmd/cover
  9. - go get github.com/mattn/goveralls
  10. - dep ensure
  11. - go build
  12. script:
  13. - go vet
  14. - go test -v -covermode=count -coverprofile=coverage.out
  15. - $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci