Hide go download status, as it pollutes Travis CI output
parent
43ff2d7ebc
commit
681ba49099
2
Makefile
2
Makefile
|
|
@ -227,7 +227,7 @@ out/linters/golangci-lint:
|
|||
mkdir -p out/linters \
|
||||
&& cd out/linters \
|
||||
&& test -f go.mod || go mod init linters \
|
||||
&& go get -u github.com/golangci/golangci-lint/cmd/golangci-lint@692dacb773b703162c091c2d8c59f9cd2d6801db
|
||||
&& go get -u github.com/golangci/golangci-lint/cmd/golangci-lint@692dacb773b703162c091c2d8c59f9cd2d6801db >/dev/null
|
||||
cp -f $(GOPATH)/bin/golangci-lint out/linters/golangci-lint
|
||||
|
||||
.PHONY: lint
|
||||
|
|
|
|||
2
test.sh
2
test.sh
|
|
@ -19,7 +19,7 @@ set -eu -o pipefail
|
|||
exitcode=0
|
||||
|
||||
echo "= go mod ================================================================"
|
||||
go mod download || ((exitcode+=1))
|
||||
go mod download >/dev/null || ((exitcode+=1))
|
||||
go mod tidy -v && echo ok || ((exitcode+=2))
|
||||
|
||||
echo "= make lint ============================================================="
|
||||
|
|
|
|||
Loading…
Reference in New Issue