Verify proper go formatting in circleci job

This commit is contained in:
Cameron Sparr 2015-08-04 16:12:48 -06:00
parent 611ad26d1b
commit 6b820d91ae
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,8 @@ test:
pre:
# Vet go code for any potential errors
- go vet ./...
# Verify that all files are properly go formatted
- "[ `git ls-files | grep '.go$' | xargs gofmt -l 2>&1 | wc -l` -eq 0 ]"
override:
# Enforce that testutil, cmd, and main directory are fully linted
- golint .