fix 'if' statement in travis