golangci: add golangci-lint
This commit is contained in:
parent
fcab6ed7a2
commit
5955dc6a6b
10
.travis.yml
10
.travis.yml
|
@ -11,10 +11,11 @@ env:
|
|||
- PATH=$HOME/gopath/bin:$PATH
|
||||
|
||||
before_install:
|
||||
- go get golang.org/x/tools/cmd/cover
|
||||
- go get golang.org/x/tools/cmd/goimports
|
||||
- go get github.com/golang/lint/golint
|
||||
- go get github.com/mattn/goveralls
|
||||
- go get -u golang.org/x/tools/cmd/cover
|
||||
- go get -u golang.org/x/tools/cmd/goimports
|
||||
- go get -u github.com/golang/lint/golint
|
||||
- go get -u github.com/mattn/goveralls
|
||||
- go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
|
||||
|
||||
install:
|
||||
- go get ./...
|
||||
|
@ -25,3 +26,4 @@ before_script:
|
|||
|
||||
script:
|
||||
- ./goclean.sh
|
||||
- golangci-lint run
|
||||
|
|
Loading…
Reference in a new issue