.travis.yml 403 B

123456789101112131415161718
  1. sudo: false
  2. language: go
  3. go:
  4. - 1.3.3
  5. - 1.5.4
  6. - 1.6.2
  7. - tip
  8. matrix:
  9. allow_failures:
  10. - go: tip
  11. fast_finish: true
  12. install:
  13. - # 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).
  14. script:
  15. - go get -t -v ./...
  16. - diff -u <(echo -n) <(gofmt -d -s .)
  17. - go tool vet .
  18. - go test -v -race ./...