# Source https://coderwall.com/p/wws2uq sudo: false language: python python: - "2.7" cache: pip: true custom_install: true # command to install dependencies install: pip install --upgrade Sphinx # command to run tests script: sphinx-build -n -b html -d _build/doctrees . _build/html # Flags used here, not in `make html`: # -n Run in nit-picky mode. Currently, this generates warnings for all missing references. # -W Turn warnings into errors. This means that the build stops at the first warning and sphinx-build exits with exit status 1.