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:
parent
c630b6ca1f
commit
8f4643df14
1 changed files with 9 additions and 1 deletions
10
.travis.yml
10
.travis.yml
|
@ -1,3 +1,11 @@
|
||||||
language: go
|
language: go
|
||||||
go: release
|
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 ./...
|
||||||
|
|
Loading…
Reference in a new issue