Browse Source

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

* Fixed travis test failing for older versions of go

* changed supported go version
Robert M 6 năm trước cách đây
mục cha
commit
797adeefde
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      .travis.yml

+ 3 - 3
.travis.yml

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