1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-11-26 11:09:22 +03: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

View File

@ -5,7 +5,8 @@ language:
before_install: before_install:
- docker-compose build - 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-compose ps
- docker ps - docker ps
- docker images - docker images

View File

@ -87,7 +87,7 @@ while read -r number test_line; do
cat "$TMP2" cat "$TMP2"
fi fi
if grep -q "Internal Server Error" "$TMP2"; then if grep -q "Internal Server Error" "$TMP2"; then
[[ $TRAVIS == true ]] && docker-compose logs --no-color [[ $TRAVIS == true ]] && docker logs chtsh
fi fi
echo "FAILED: [$number] $test_line" echo "FAILED: [$number] $test_line"
((failed++)) ((failed++))