From 70a1d44c6a1f17765957cdff19f39ccaeccd4c4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Thu, 28 Jun 2018 19:32:45 +0200 Subject: [PATCH] Slow down output in the hope that it will avoid corruption of unicode characters by Travis --- ansi-screenshots/to_ansi.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ansi-screenshots/to_ansi.sh b/ansi-screenshots/to_ansi.sh index 9bfbfe9..966ac88 100755 --- a/ansi-screenshots/to_ansi.sh +++ b/ansi-screenshots/to_ansi.sh @@ -28,6 +28,5 @@ done | sed -n -r -e 's/^[0-9a-f]* (([0-9a-f]{2} ){8}) (([0-9a-f]{2} ){7}[0-9a-f]{2}).*$/\1\3/p' \ | tr '\n' ' ' \ | fold -w $((width*3)) \ - | sed -r -e 's/([01])([0-7]) /[\1;3\2m█/g' - -echo + | sed -r -e 's/([01])([0-7]) /[\1;3\2m█/g' \ + | if test "$CI" = "true" -a "$TRAVIS" = "true"; then while read ab; do echo "$ab"; sleep 0.05; done; else cat; echo; fi