1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-11-26 11:09:22 +03:00

Try --no-color to avoid log output being stripped by Travis

This commit is contained in:
Anatoli Babenia 2020-07-31 10:09:19 +03:00
parent 9a495a7615
commit 5dab632e21
2 changed files with 2 additions and 1 deletions

View File

@ -12,4 +12,5 @@ before_install:
script:
- sleep 3
- curl http://localhost:8002
- docker-compose logs app
- CHTSH_URL=http://localhost:8002 CHEATSH_TEST_STANDALONE=NO bash tests/run-tests.sh

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 app
[[ $TRAVIS == true ]] && docker-compose logs --no-color
fi
echo "FAILED: [$number] $test_line"
((failed++))