1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 13:16:44 +02:00

Try to show container log in case of error on Travis

This commit is contained in:
Anatoli Babenia
2020-07-31 09:57:20 +03:00
parent 6be6a25c2a
commit 9a495a7615
+3
View File
@@ -86,6 +86,9 @@ while read -r number test_line; do
if [ "$show_details" = YES ]; then
cat "$TMP2"
fi
if grep -q "Internal Server Error" "$TMP2"; then
[[ $TRAVIS == true ]] && docker-compose logs app
fi
echo "FAILED: [$number] $test_line"
((failed++))
fi