diff options
author | Vincent Ambo <tazjin@gmail.com> | 2017-06-22T14·00+0200 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2017-07-03T12·27+0200 |
commit | 68e1e484594aa86a874c6eb2ad328274c5f48dd7 (patch) | |
tree | e49ec2bec5666a2bae9a62ab8fd32d7924978071 | |
parent | 8c7a3d6c30292a003c62792ce0ac03abff264a85 (diff) |
feat build: Test if 'go fmt' has been applied
-rw-r--r-- | .travis.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index db8944c2c5e7..382ca506195d 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 ./... |