File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 2323echo " travis_fold:end:cibuild-environment-dump"
2424
2525# Create a temporary file to capture output of various steps.
26- export OUTPUT_FILE=" $( mktemp) "
2726function cleanup() {
28- rm -rf " $OUTPUT_FILE "
2927 rm -f " ${DIR} /.ruby-version"
3028}
3129trap cleanup EXIT
@@ -105,7 +103,10 @@ if [ "$RSPEC_TEST" = "true" ]; then
105103 exitcode=$?
106104 unset COVERAGE
107105 if [ " $exitcode " -ne 0 ]; then RSPEC_EXITCODE=" $exitcode " ; fi
108- cat " $OUTPUT_FILE "
106+
107+ # Quick coverage report
108+ cat " $DIR /coverage/coverage.json" \
109+ | jq -r ' .files[] | select(.covered_percent < 100) | (.covered_percent|tostring) + ": " + .filename'
109110 echo " "
110111
111112 # To avoid travis getting hung if it gets confused, we'll run each of these
@@ -129,8 +130,6 @@ if [ "$RSPEC_TEST" = "true" ]; then
129130 fi
130131 fi
131132 done
132-
133- cat " $OUTPUT_FILE "
134133 done
135134 done
136135 export PATH=" $SAVED_PATH "
You can’t perform that action at this time.
0 commit comments