You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.travis.yml 439B

123456789101112131415161718192021
  1. sudo: false
  2. language: go
  3. go:
  4. - 1.3.x
  5. - 1.5.x
  6. - 1.6.x
  7. - 1.7.x
  8. - 1.8.x
  9. - 1.9.x
  10. - master
  11. matrix:
  12. allow_failures:
  13. - go: master
  14. fast_finish: true
  15. install:
  16. - # 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).
  17. script:
  18. - go get -t -v ./...
  19. - diff -u <(echo -n) <(gofmt -d -s .)
  20. - go tool vet .
  21. - go test -v -race ./...