Skip to content
This repository has been archived by the owner on Dec 21, 2019. It is now read-only.

Commit

Permalink
feat build: Test if 'go fmt' has been applied
Browse files Browse the repository at this point in the history
  • Loading branch information
tazjin committed Jul 3, 2017
1 parent 8c7a3d6 commit 68e1e48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
language: go
before_script:
- if [[ -n "$(go fmt ./...)" ]]; then echo 'Run go fmt!' && exit 1; fi
- go vet ./...

0 comments on commit 68e1e48

Please sign in to comment.