about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml1
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 ./...