Rendering skyboxes in Cycles

Hello everyone!
Is there a way to render a scene to 6 images in Cycles that can be used for skyboxes?
I have found this:

, but as far as I can tell, it uses Blender Internal.
When I try using an environment map as a texture in Cycles, it won’t show me the options I need.
Does anyone know how to solve this?

Many thanks in advance,