.travis.yml 416 B

12345678910111213141516171819
  1. sudo: false
  2. language: go
  3. go:
  4. - 1.6.x
  5. - 1.7.x
  6. - 1.8.x
  7. - 1.9.x
  8. - master
  9. matrix:
  10. allow_failures:
  11. - go: master
  12. fast_finish: true
  13. install:
  14. - # Do nothing. This is needed to prevent default install action "go get -t -v ./..." from happening here (we want it to happen inside script step).
  15. script:
  16. - go get -t -v ./...
  17. - diff -u <(echo -n) <(gofmt -d .)
  18. - go tool vet .
  19. - go test -v -race ./...