Fix broken if statement in travis.sh