[ticket/12661] Some fixes for travis test

PHPBB3-12661