Make sure coverage.html is generated when tests fail

This has a side effect of making vet and lint run even if tests fail,
which maybe undesirable.
pull/13/head
Chris Bednarski 9 years ago
parent 69929e5749
commit 394f87d739

@ -8,8 +8,7 @@ build: deps
go build
test:
go test -coverprofile=coverage.out
go tool cover -html=coverage.out -o coverage.html
go test -coverprofile=coverage.out; go tool cover -html=coverage.out -o coverage.html
go vet
golint

Loading…
Cancel
Save