refactor travis.yml