Disable gofmt for non go1.2 or go1.3

This commit is contained in:
Brendan Burns
2014-07-01 10:43:48 -07:00
parent d75bd790d3
commit e5f36b8ec1
2 changed files with 34 additions and 1 deletions

View File

@@ -3,11 +3,12 @@ language: go
go:
- 1.2
- 1.3
- tip
install:
- go get code.google.com/p/go.tools/cmd/cover
- go get github.com/coreos/etcd
- bad=$(gofmt -s -l pkg/ cmd/) bash -x -c '[[ -z "$bad" ]]'
- ./hack/verify-gofmt.sh
- ./hack/verify-boilerplate.sh
- ./hack/build-go.sh