From 5794f5545f11a3ae0716a060e06a47a83e1d488a Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Mon, 17 Jul 2017 13:39:51 -0400 Subject: [PATCH] Travis: Check for gofmt issues. This will help catch issues like https://github.com/shazow/ssh-chat/pull/240#discussion_r127626103 in CI. --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 78086b9..16c5cec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,7 @@ install: - go get github.com/gordonklaus/ineffassign script: + - diff -u <(echo -n) <(gofmt -d .) - ineffassign . - go vet $(go list ./... | grep -v /vendor/) - go test -v $(go list ./... | grep -v /vendor/)