Travis-ci doesn't like 'if-else'?