.travis.yml 561 B

1234567891011121314151617181920
  1. language: go
  2. go:
  3. - 1.7.x
  4. - 1.8.x
  5. - tip
  6. before_install:
  7. - go get github.com/modocache/gover
  8. - go get github.com/mattn/goveralls
  9. - go get golang.org/x/tools/cmd/cover
  10. script:
  11. - go test -race ./...
  12. - go test -coverprofile=color.coverprofile ./color
  13. - go test -coverprofile=bytes.coverprofile ./bytes
  14. - go test -coverprofile=log.coverprofile ./log
  15. - go test -coverprofile=random.coverprofile ./random
  16. - gover
  17. - goveralls -coverprofile=gover.coverprofile -service=travis-ci
  18. matrix:
  19. allow_failures:
  20. - go: tip