travis: build docs with warnings as errors

Catch warnings early so that we can correct them.