Skip to content

Commit

Permalink
[ci] Updated Travis to use matrix builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
elithrar committed Feb 13, 2016
1 parent 22f03b5 commit 8fe8706
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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 ./...

0 comments on commit 8fe8706

Please sign in to comment.