Add go vet and golint to travis-ci config.

For golint, min_confidence is set to 0.9 since things aren't totally
golint clean yet.
This commit is contained in:
John C. Vernaleo 2014-09-05 14:58:14 -04:00
parent c630b6ca1f
commit 8f4643df14

View file

@ -1,3 +1,11 @@
language: go
go: release
install: go get -d -t -v ./...
install:
- go get code.google.com/p/go.tools/cmd/vet
- go get github.com/GeertJohan/fgt
- go get github.com/golang/lint/golint
- go get -d -t -v ./...
script:
- $HOME/gopath/bin/fgt $HOME/gopath/bin/golint -min_confidence=0.9 *.go
- go vet *.go
- go test -v ./...