Skip to content

Commit

Permalink
Verify proper go formatting in circleci job
Browse files Browse the repository at this point in the history
  • Loading branch information
sparrc committed Aug 4, 2015
1 parent 611ad26 commit 7384ddc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down

0 comments on commit 7384ddc

Please sign in to comment.