1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 13:16:44 +02: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
+1
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
+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 app
[[ $TRAVIS == true ]] && docker-compose logs --no-color
fi
echo "FAILED: [$number] $test_line"
((failed++))