forked from TrueCloudLab/rclone
Stop errcheck running for go < 1.5
This commit is contained in:
parent
4ce2a84df0
commit
c245183101
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ go:
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- go get ./...
|
- go get ./...
|
||||||
- go get -u github.com/kisielk/errcheck
|
- '[[ `go version` =~ go1.[0-4][^0-9] ]] || go get -u github.com/kisielk/errcheck'
|
||||||
- go get -u golang.org/x/tools/cmd/goimports
|
- go get -u golang.org/x/tools/cmd/goimports
|
||||||
- go get -u github.com/golang/lint/golint
|
- go get -u github.com/golang/lint/golint
|
||||||
|
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -13,7 +13,7 @@ test: rclone
|
||||||
|
|
||||||
check: rclone
|
check: rclone
|
||||||
go vet ./...
|
go vet ./...
|
||||||
errcheck ./...
|
[[ `go version` =~ go1.[0-4][^0-9] ]] || errcheck -verbose ./...
|
||||||
goimports -d . | grep . ; test $$? -eq 1
|
goimports -d . | grep . ; test $$? -eq 1
|
||||||
golint ./... | grep -E -v '(StorageUrl|CdnUrl)' ; test $$? -eq 1
|
golint ./... | grep -E -v '(StorageUrl|CdnUrl)' ; test $$? -eq 1
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue