[ticket/12693] Add a travis test that checks file permissions

https://tracker.phpbb.com/browse/PHPBB3-12693

PHPBB3-12693
We are going to add sami there aswell, so it should be okay