From feebf74e97cb01ec01c8161ddc2dfee68f19d897 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Fri, 19 Feb 2021 12:32:14 +0100 Subject: [PATCH] travis: run mage with -v to not discard output Before this: $ go run mage.go lint Error: running "/Users/sebastiaan/go/bin/golangci-lint run ./..." failed with exit code 1 exit status 1 $ go run mage.go test Error: running "go test -race -v ./..." failed with exit code 1 exit status 1 After this: $ go run mage.go -v lint Running target: Lint exec: /Users/sebastiaan/go/bin/golangci-lint run ./... entry.go:89:6: `iamNotUsed` is unused (deadcode) func iamNotUsed() { ^ Error: running "/Users/sebastiaan/go/bin/golangci-lint run ./..." failed with exit code 1 exit status 1 $ go run mage.go -v test Running target: Test exec: go test -race -v ./... === RUN TestRegister ... ? github.com/sirupsen/logrus/internal/testutils [no test files] FAIL Error: running "go test -race -v ./..." failed with exit code 1 exit status 1 Signed-off-by: Sebastiaan van Stijn --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index e6ee8b3..bb890a8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,5 +10,5 @@ install: - ./travis/install.sh script: - go run mage.go -v crossBuild - - go run mage.go lint - - go run mage.go test + - go run mage.go -v lint + - go run mage.go -v test