refactor(travis): refactor travis scripts