Add time limit to ensure that travis prints something when it fails. (#797)
This commit is contained in:
parent
4608976526
commit
482ed7f4e2
@ -40,7 +40,7 @@ matrix:
|
||||
- go install -race ./...
|
||||
script:
|
||||
- go run scripts/use-ports.go -from 1024 -to 10000 &
|
||||
- go test -race -cover -coverprofile=.coverprofile -json ./... | tparse -all
|
||||
- go test -race -cover -coverprofile=.coverprofile -json -timeout 9m ./... | tparse -all
|
||||
- goveralls -coverprofile=.coverprofile -service=travis-ci
|
||||
- rm .coverprofile
|
||||
- go run scripts/check-clean-directory.go
|
||||
|
Loading…
Reference in New Issue
Block a user