refactor travis