Fix summary of TEST_PREV_COMMITS (#2261)

Instead of printing the list of commits for which tests failed, this
printed all commits.

Testing done on this change: None. Testing the infrastructure for Travis
is a bit hard and quite meta. (Tests for the tests?)

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2018-05-21 09:01:09 +02:00 committed by Emmanuel Lepage Vallée
parent 347238b57a
commit 4e17cc6bfc
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ script:
git checkout -qf FETCH_HEAD
if [ -n "$failed" ]; then
echo "Checks failed for these commits:"
for c in $commits; do
for c in $failed; do
git log -1 --pretty="%h %s (%an, %ad)" "$c"
done
false