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 387B

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