Browse Source

Merge pull request #113 from elithrar/patch-1

Update .travis.yml to build Go 1.6
Gary Burd 9 năm trước cách đây
mục cha
commit
be42fcd8c9
1 tập tin đã thay đổi với 19 bổ sung4 xóa
  1. 19 4
      .travis.yml

+ 19 - 4
.travis.yml

@@ -1,6 +1,21 @@
 language: go
+sudo: false
 
-go:
-  - 1.1
-  - 1.2
-  - tip
+matrix:
+  include:
+    - go: 1.1
+    - go: 1.2
+    - go: 1.3
+    - go: 1.4
+    - go: 1.5
+    - go: 1.6
+    - go: tip
+
+install:
+  - go get golang.org/x/tools/cmd/vet
+
+script:
+  - go get -t -v ./...
+  - diff -u <(echo -n) <(gofmt -d .)
+  - go tool vet .
+  - go test -v -race ./...