fix ifs in travis.yml