Added gofmt requirement to CI

pull/1697/head
Jordan Wright 2019-12-15 22:13:19 -06:00
parent 01287e0dd5
commit 9d430c90ab
1 changed files with 4 additions and 0 deletions

View File

@ -12,3 +12,7 @@ install:
- go get -d -v ./... && go build -v ./... - go get -d -v ./... && go build -v ./...
- go get gopkg.in/check.v1 - go get gopkg.in/check.v1
- go get github.com/stretchr/testify - go get github.com/stretchr/testify
script:
- diff -u <(echo -n) <(gofmt -d .)
- go test -v ./...