From 7ef57515290d167fd05bb50df43c9a2b7b5ecda3 Mon Sep 17 00:00:00 2001 From: Adam Reese Date: Wed, 10 Aug 2016 13:08:24 -0700 Subject: [PATCH] fix(ci): disable running coverage in parallel Running in parallel will crash a circle ci node. Disabling until we can build in some safeguards. --- scripts/coverage.sh | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/scripts/coverage.sh b/scripts/coverage.sh index 354b3048f..1863d5835 100755 --- a/scripts/coverage.sh +++ b/scripts/coverage.sh @@ -28,19 +28,9 @@ generate_cover_data() { ( local output="${coverdir}/${d//\//-}.cover" go test -coverprofile="${output}" -covermode="$covermode" "$d" - ) & + ) done - local fails - fails=0 - for job in $(jobs -p); do - wait "${job}" || let "fails+=1" - done - if (( fails != 0 )); then - echo "FAILED" - exit ${fails} - fi - echo "mode: $covermode" >"$profile" grep -h -v "^mode:" "$coverdir"/*.cover >>"$profile" }