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 <github@gone.nl>
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user