Fixed travis test failing for older versions of go (#604)

* Fixed travis test failing for older versions of go

* changed supported go version
This commit is contained in:
Robert M 2018-10-24 18:15:31 -04:00 committed by Chris Rhodes
parent 8fb9c2a11d
commit 797adeefde

View file

@ -1,12 +1,12 @@
language: go language: go
go: go:
- 1.7.x
- 1.8.x
- 1.9.x - 1.9.x
- 1.10.x
- 1.11.x
install: install:
- go get github.com/bwmarrin/discordgo - go get github.com/bwmarrin/discordgo
- go get -v . - go get -v .
- go get -v github.com/golang/lint/golint - go get -v golang.org/x/lint/golint
script: script:
- diff <(gofmt -d .) <(echo -n) - diff <(gofmt -d .) <(echo -n)
- go vet -x ./... - go vet -x ./...