2018-08-06 19:47:05 +00:00
|
|
|
language: go
|
|
|
|
go:
|
2020-07-18 15:27:41 +00:00
|
|
|
- 1.13.x
|
2020-09-04 21:29:13 +00:00
|
|
|
- 1.14.x
|
2020-11-22 18:21:34 +00:00
|
|
|
- 1.15.x
|
2022-03-12 16:06:39 +00:00
|
|
|
- 1.16.x
|
2020-09-04 21:29:13 +00:00
|
|
|
env:
|
|
|
|
- GO111MODULE=on
|
2018-08-06 19:47:05 +00:00
|
|
|
install:
|
|
|
|
- go get github.com/bwmarrin/discordgo
|
|
|
|
- go get -v .
|
2018-11-12 23:02:07 +00:00
|
|
|
- go get -v golang.org/x/lint/golint
|
2018-08-06 19:47:05 +00:00
|
|
|
script:
|
|
|
|
- diff <(gofmt -d .) <(echo -n)
|
|
|
|
- go vet -x ./...
|
|
|
|
- golint -set_exit_status ./...
|
|
|
|
- go test -v -race ./...
|