diff --git a/.travis.yml b/.travis.yml index f321b281..0ba4ec66 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,5 +20,6 @@ install: - go get golang.org/x/tools/cmd/vet script: + - [ -z "$(find -name "*.go" | xargs gofmt -s -l)" ] || exit 1 - go vet ./... - go test ./...