.travis.yml 406 B

123456789101112131415161718192021222324252627282930
  1. sudo: false
  2. language: go
  3. go:
  4. - 1.8.x
  5. - 1.9.x
  6. - tip
  7. matrix:
  8. allow_failures:
  9. - go: tip
  10. fast_finish: true
  11. before_script:
  12. - go get -u github.com/golang/lint/golint
  13. script:
  14. - go test -v --race ./...
  15. after_script:
  16. - test -z "$(gofmt -s -l -w . | tee /dev/stderr)"
  17. - test -z "$(golint ./... | tee /dev/stderr)"
  18. - go vet ./...
  19. os:
  20. - linux
  21. - osx
  22. notifications:
  23. email: false