From 8fe870669154b2fd541dba79af06fac7bbe00f0b Mon Sep 17 00:00:00 2001 From: Matt Silverlock Date: Sat, 13 Feb 2016 08:39:00 -0800 Subject: [PATCH] [ci] Updated Travis to use matrix builds. - Ref: https://docs.travis-ci.com/user/speeding-up-the-build/ --- .travis.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 74942d9..8f7055d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,19 @@ language: go sudo: false -go: - - 1.4 - - 1.5 - - tip + +matrix: + include: + - go: 1.2 + - go: 1.3 + - go: 1.4 + - go: 1.5 + - go: tip + install: - go get golang.org/x/tools/cmd/vet + script: - go get -t -v ./... - - diff -u <(echo -n) <(gofmt -d -s .) + - diff -u <(echo -n) <(gofmt -d .) - go tool vet . - go test -v -race ./...