Files
opsschool-curriculum/.travis.yml
Mike Fiedler 18bd10a143 Remove deprecated pip flag
As of pip 7.x the `--use-mirrors` flag has been removed and is now
failing builds.
2016-08-10 08:14:20 -04:00

13 lines
544 B
YAML

language: python
python:
- "2.7"
before_install:
- sudo apt-get update && sudo apt-get install -qq graphviz
# command to install dependencies
install: "pip install -q -r requirements.txt"
# command to run tests
script: sphinx-build -nW -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.