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 23
23
echo " travis_fold:end:cibuild-environment-dump"
24
24
25
25
# Create a temporary file to capture output of various steps.
26
- export OUTPUT_FILE=" $( mktemp) "
27
26
function cleanup() {
28
- rm -rf " $OUTPUT_FILE "
29
27
rm -f " ${DIR} /.ruby-version"
30
28
}
31
29
trap cleanup EXIT
@@ -105,7 +103,10 @@ if [ "$RSPEC_TEST" = "true" ]; then
105
103
exitcode=$?
106
104
unset COVERAGE
107
105
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'
109
110
echo " "
110
111
111
112
# To avoid travis getting hung if it gets confused, we'll run each of these
@@ -129,8 +130,6 @@ if [ "$RSPEC_TEST" = "true" ]; then
129
130
fi
130
131
fi
131
132
done
132
-
133
- cat " $OUTPUT_FILE "
134
133
done
135
134
done
136
135
export PATH=" $SAVED_PATH "
You can’t perform that action at this time.
0 commit comments