Build docs on Travis again

We stopped building docs on Travis when we switched to mach.

This adds the doc task to test-content (only for linux)

PR from branch instead of fork because I can't see the result of stuff requiring Travis secure env variables from a fork.

I've put an if in the switch-case itself, however I'm open to restructuring the build matrix.