diff --git a/.travis.yml b/.travis.yml index 7759ad70..b32fe757 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,9 +5,14 @@ go: install: - go get -d -t -v ./... - go get -v code.google.com/p/go.tools/cmd/cover + - go get code.google.com/p/go.tools/cmd/vet + - go get github.com/GeertJohan/fgt + - go get github.com/golang/lint/golint script: + - export PATH=$PATH:$HOME/gopath/bin + - go vet *.go + - fgt golint *.go - go test -v -covermode=count -coverprofile=profile.cov after_success: - go get -v github.com/mattn/goveralls - - export PATH=$PATH:$HOME/gopath/bin - goveralls -coverprofile=profile.cov -service=travis-ci