Add Sphinx build to Travis and fix warnings