.travis.yml 425 B

1234567891011121314151617
  1. language: go
  2. go:
  3. - 1.8
  4. - 1.9
  5. - tip
  6. install:
  7. - go get golang.org/x/tools/cmd/cover
  8. - go get github.com/mattn/goveralls
  9. - go list -f '{{range .Imports}}{{.}} {{end}}' ./... | xargs go get -v
  10. - go list -f '{{range .TestImports}}{{.}} {{end}}' ./... | xargs go get -v
  11. script:
  12. - go test -v -covermode=count -coverprofile=coverage.out
  13. - $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci