Add time limit to ensure that travis prints something when it fails. (#797)

This commit is contained in:
Egon Elbre 2018-12-07 15:07:53 +02:00 committed by GitHub
parent 4608976526
commit 482ed7f4e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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