Update Travis to also test compiling the docs

I've currently got the "man" compilation testing commented out since it fails right now (see #3650); will update this one with uncommenting that if that one merges, or will update that one with the uncomment if this one merges - whichever comes first.

This should help us catch simple docs compilation errors. :)