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:
parent
f62fb51d3f
commit
ca55415659
@ -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
|
||||
|
@ -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++))
|
||||
|
Loading…
Reference in New Issue
Block a user