From 4d88276705e6fe7441430c1ef9a45a3c3a549d78 Mon Sep 17 00:00:00 2001 From: Matt Silverlock Date: Fri, 26 Feb 2016 13:24:46 -0800 Subject: Update .travis.yml to build Go 1.6 --- .travis.yml | 21 ++++++++++++++++----- 1 file 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 ./... -- cgit v1.2.3