From b3c11fb1515132d52c18c4c54c55aa1f74c9842f Mon Sep 17 00:00:00 2001 From: Mickael Remond Date: Mon, 15 Jan 2018 12:52:16 +0100 Subject: [PATCH] If codecov script is not available, do not try to upload --- test.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 14782ff..341553c 100755 --- a/test.sh +++ b/test.sh @@ -11,4 +11,6 @@ for d in $(go list ./... | grep -v vendor); do fi done -./codecov.sh \ No newline at end of file +if [ -f "./codecov.sh" ]; then + ./codecov.sh +fi