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

Check docker logs with unbuffered Python again

This commit is contained in:
Anatoli Babenia
2020-07-31 15:12:56 +03:00
parent f62fb51d3f
commit ca55415659
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -5,7 +5,8 @@ language:
before_install:
- docker-compose build
- docker-compose run -d --service-ports --name chtsh app --debug
#- docker-compose run -d --service-ports --name chtsh app --debug
- docker-compose up -d
- docker-compose ps
- docker ps
- docker images
+1 -1
View File
@@ -87,7 +87,7 @@ while read -r number test_line; do
cat "$TMP2"
fi
if grep -q "Internal Server Error" "$TMP2"; then
[[ $TRAVIS == true ]] && docker-compose logs --no-color
[[ $TRAVIS == true ]] && docker logs chtsh
fi
echo "FAILED: [$number] $test_line"
((failed++))