The interaction of turbulence with parallel and perpendicular shocks