fix logic error in .travis.yml