From eb279e7e8a07ffd84cec176a2cf0cdf837c4d9c9 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Sat, 26 Mar 2016 08:53:00 -0600 Subject: [PATCH] Perform gofmt -s check --- .travis.yml | 1 + 1 file changed, 1 insertion(+) 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 ./...