.travis.yml 337 B

1234567891011121314151617
  1. language: go
  2. go:
  3. - 1.11.x
  4. - 1.12.x
  5. - 1.13.x
  6. - 1.14.x
  7. env:
  8. - GO111MODULE=on
  9. install:
  10. - go get github.com/bwmarrin/discordgo
  11. - go get -v .
  12. - go get -v golang.org/x/lint/golint
  13. script:
  14. - diff <(gofmt -d .) <(echo -n)
  15. - go vet -x ./...
  16. - golint -set_exit_status ./...
  17. - go test -v -race ./...