From 482ed7f4e2c74ad440a2500db66cc6255e43a65b Mon Sep 17 00:00:00 2001 From: Egon Elbre Date: Fri, 7 Dec 2018 15:07:53 +0200 Subject: [PATCH] Add time limit to ensure that travis prints something when it fails. (#797) --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6bc40602a..b79e9b5c4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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