Modified travis.yml if statement