Browse Source

Update .travis.yml to build Go 1.6

Matt Silverlock 9 years ago
parent
commit
ac929f8383
1 changed files with 19 additions and 4 deletions
  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 ./...