From 9d430c90ab56d98b40c178780d7a10b81886a4e6 Mon Sep 17 00:00:00 2001 From: Jordan Wright Date: Sun, 15 Dec 2019 22:13:19 -0600 Subject: [PATCH] Added gofmt requirement to CI --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 96047fb4..e733edf6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,3 +12,7 @@ install: - go get -d -v ./... && go build -v ./... - go get gopkg.in/check.v1 - go get github.com/stretchr/testify + +script: + - diff -u <(echo -n) <(gofmt -d .) + - go test -v ./...