Refactor some travis settings and add clean setup