Skip to content

Commit

Permalink
Adding golint to build and Travis checks
Browse files Browse the repository at this point in the history
  • Loading branch information
mtlynch committed Oct 2, 2016
1 parent 97ef4df commit 729b0b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -4,6 +4,7 @@ language: go
go:
- 1.7.1
before_install:
- go get github.com/golang/lint/golint
- go get github.com/mattn/goveralls
script:
- ./build
Expand Down
3 changes: 2 additions & 1 deletion build
Expand Up @@ -3,9 +3,10 @@
# Exit on first error.
set -e

# Block the commit if it breaks unit tests or formatting
go test ./...

gofmt -s -d .

go vet ./...

golint ./...

0 comments on commit 729b0b9

Please sign in to comment.