refactor travis integration