diff --git a/.travis.yml b/.travis.yml index 1a523db..fc3e098 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ script: - go test -v $(go list ./... | grep -v /vendor/) - go vet $(go list ./... | grep -v /vendor/) - diff <(goimports -d $(find . -type f -name '*.go' -not -path "./vendor/*")) <(printf "") -- for d in $(go list ./... | grep -v /vendor/); do diff <(golint $d) <(printf ""); done +- (for d in $(go list ./... | grep -v /vendor/); do diff <(golint $d) <(printf "") || exit 1; done) notifications: irc: channels: