Add vet and lint where possible to travis.

This commit is contained in:
John C. Vernaleo 2014-09-16 11:31:51 -04:00
parent 68d10f4dc8
commit 372bbe5c49

View file

@ -1,3 +1,16 @@
language: go language: go
go: release go:
install: go get -d -t -v ./... - 1.2
- release
- tip
install:
- go get -d -t -v ./...
- go get -v code.google.com/p/go.tools/cmd/vet
- go get -v github.com/GeertJohan/fgt
- go get -v github.com/golang/lint/golint
script:
- export PATH=$PATH:$HOME/gopath/bin
- go vet ./...
- fgt golint memdb
- fgt golint ldb
- go test -v