add custom tparse that doesn't stall (#1730)

This commit is contained in:
Egon Elbre 2019-04-10 10:23:56 -04:00 committed by GitHub
parent c29dbc6e7c
commit 605d18f9b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,12 +35,12 @@ matrix:
install:
- pushd ~
- GOBIN=${GOPATH}/bin GOPATH=~/gotools go get github.com/mattn/goveralls
- GOBIN=${GOPATH}/bin GOPATH=~/gotools go get github.com/mfridman/tparse
- GOBIN=${GOPATH}/bin GOPATH=~/gotools go get github.com/egonelbre/tparse
- popd
- go install -race ./...
script:
- go run scripts/use-ports.go -from 1024 -to 10000 &
- go test -vet=off -race -cover -coverprofile=.coverprofile -json -timeout 9m ./... | tparse -all -top
- go test -vet=off -race -cover -coverprofile=.coverprofile -json -timeout 9m ./... | tparse -all -top -slow 100 -pulse 5s
- goveralls -coverprofile=.coverprofile -service=travis-ci
- rm .coverprofile
- go run scripts/check-clean-directory.go