mirror of
https://github.com/zalando-incubator/kube-metrics-adapter.git
synced 2025-10-18 13:18:33 +00:00
Increase timeout for golangci-lint
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
This commit is contained in:
@@ -13,8 +13,8 @@ before_install:
|
|||||||
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_RELEASE}
|
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_RELEASE}
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- make check
|
|
||||||
- make test
|
- make test
|
||||||
- make build.docker
|
- make build.docker
|
||||||
|
- make check
|
||||||
- roveralls
|
- roveralls
|
||||||
- goveralls -v -coverprofile=roveralls.coverprofile -service=travis-ci
|
- goveralls -v -coverprofile=roveralls.coverprofile -service=travis-ci
|
||||||
|
3
Makefile
3
Makefile
@@ -19,7 +19,8 @@ test:
|
|||||||
go test -v $(GOPKGS)
|
go test -v $(GOPKGS)
|
||||||
|
|
||||||
check:
|
check:
|
||||||
golangci-lint run ./...
|
go mod download
|
||||||
|
golangci-lint run --timeout=2m ./...
|
||||||
|
|
||||||
build.local: build/$(BINARY)
|
build.local: build/$(BINARY)
|
||||||
build.linux: build/linux/$(BINARY)
|
build.linux: build/linux/$(BINARY)
|
||||||
|
Reference in New Issue
Block a user