commit 70a1d44c6a1f17765957cdff19f39ccaeccd4c4b parent 9db77cfb69652fda59ca452b774f4ea39b5bf84b Author: Georges Dupéron <georges.duperon@gmail.com> Date: Thu, 28 Jun 2018 19:32:45 +0200 Slow down output in the hope that it will avoid corruption of unicode characters by Travis Diffstat:
| M | 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 @@ -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