From 8f4643df14832a09183427810ddef051a7a4aeec Mon Sep 17 00:00:00 2001 From: "John C. Vernaleo" Date: Fri, 5 Sep 2014 14:58:14 -0400 Subject: [PATCH] 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. --- .travis.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ae71c02f..763a2eca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 ./...