Skip to content

Commit

Permalink
Added gofmt test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Falck committed Feb 27, 2020
1 parent b6d7024 commit b3a6fa7
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 @@ -14,3 +14,5 @@ install:

script:
- go test -v -bench=. ./...
- test -z $(gofmt -l ./example/statik/statik.go | tee /dev/stderr) || (echo 'Code not formatted correctly according to gofmt!' && exit 1)

0 comments on commit b3a6fa7

Please sign in to comment.