Fix conditional in travis CI script