Switched pre to before deploy in travis config