mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 08:23:47 +01:00
Ignore golint errors that can't be fixed
Stop duplicating checkers in .travis.yml - use Makefile as definitive source
This commit is contained in:
parent
fcea3777c0
commit
46696865fd
@ -15,12 +15,11 @@ go:
|
||||
|
||||
install:
|
||||
- go get ./...
|
||||
- go get -u github.com/golang/lint/golint
|
||||
- go get -u github.com/kisielk/errcheck
|
||||
- go get -u golang.org/x/tools/cmd/goimports
|
||||
- go get -u github.com/golang/lint/golint
|
||||
|
||||
script:
|
||||
- go vet ./...
|
||||
- diff <(goimports -d .) <(printf "")
|
||||
- diff <(golint ./...) <(printf "")
|
||||
- make check
|
||||
- go test -v ./...
|
||||
- go test -cpu=2 -race -v ./...
|
||||
|
Loading…
Reference in New Issue
Block a user