Skip to content

Commit

Permalink
Merge pull request #15 from andrewkroh/feature/go-fmt-vet
Browse files Browse the repository at this point in the history
Check code with gofmt and go vet in Travis CI
  • Loading branch information
andrewkroh committed Jan 21, 2016
2 parents fab699f + 0b0d5f2 commit 2742b88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ install:
- go get -v -t -d

script:
- gofmt -l . | read && echo "Code differs from gofmt's style. Run 'gofmt -w .'" 1>&2 && exit 1 || true
- go vet
- go build
- go test

Expand Down

0 comments on commit 2742b88

Please sign in to comment.