Verify go formatting

This commit is contained in:
Tobias Schmidt 2016-01-06 17:47:02 -05:00
parent a59c71b505
commit 18cb552947

View file

@ -2,8 +2,7 @@ sudo: false
language: go language: go
go: go:
- 1.4.3 - 1.5.2
- 1.5.1
- tip - tip
install: install:
@ -11,6 +10,7 @@ install:
- go get golang.org/x/tools/cmd/vet - go get golang.org/x/tools/cmd/vet
script: script:
- '! gofmt -l **/*.go | read nothing'
- go vet - go vet
- go test -v ./... - go test -v ./...
- go build - go build