fix conditionals in .travis.yml