Add vet and lint where possible to travis.
This commit is contained in:
parent
68d10f4dc8
commit
372bbe5c49
1 changed files with 15 additions and 2 deletions
17
.travis.yml
17
.travis.yml
|
@ -1,3 +1,16 @@
|
|||
language: go
|
||||
go: release
|
||||
install: go get -d -t -v ./...
|
||||
go:
|
||||
- 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
|
||||
|
|
Loading…
Reference in a new issue