diff --git a/.travis.yml b/.travis.yml index db8944c2c..382ca5061 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ --- language: go before_script: + - if [[ -n "$(go fmt ./...)" ]]; then echo 'Run go fmt!' && exit 1; fi - go vet ./...