[ticket/12941] Check for Sami parse errors on Travis CI. 

https://tracker.phpbb.com/browse/PHPBB3-12941
If I read this correctly, then you're just stripping out all of the ANSI color codes from a string here. Am I right?

What is point in doing so if Travis does support colors in shell?