summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Silverlock <matt@eatsleeprepeat.net>2016-02-27 00:24:46 +0300
committerMatt Silverlock <matt@eatsleeprepeat.net>2016-02-27 00:24:46 +0300
commit4d88276705e6fe7441430c1ef9a45a3c3a549d78 (patch)
tree35e770ea1f54bd2895e76382b85a344893c6efef
parente95799a481bbcc3d01c2ad5178524cb8bec9f370 (diff)
Update .travis.yml to build Go 1.6
-rw-r--r--.travis.yml21
1 files changed, 16 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index f983b60..faca4da 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,19 @@
language: go
sudo: false
-go:
- - 1.3
- - 1.4
- - 1.5
- - tip
+matrix:
+ include:
+ - 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 ./...