move some travis logic into before install so that we can split testing time