back to inline if statement in travis yml