fix(ci): disable running coverage in parallel

Running in parallel will crash a circle ci node. Disabling until we can
build in some safeguards.
pull/1043/head
Adam Reese 8 years ago
parent 1b15275135
commit 7ef5751529

@ -28,19 +28,9 @@ generate_cover_data() {
( (
local output="${coverdir}/${d//\//-}.cover" local output="${coverdir}/${d//\//-}.cover"
go test -coverprofile="${output}" -covermode="$covermode" "$d" go test -coverprofile="${output}" -covermode="$covermode" "$d"
) & )
done 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" echo "mode: $covermode" >"$profile"
grep -h -v "^mode:" "$coverdir"/*.cover >>"$profile" grep -h -v "^mode:" "$coverdir"/*.cover >>"$profile"
} }

Loading…
Cancel
Save