.travis.yml & requirements.txt: Enable travis for documentation.

This commit is contained in:
Mikaela Suomalainen 2014-06-30 22:42:43 +03:00
parent 2ead287018
commit 735333e8f6
2 changed files with 11 additions and 0 deletions

10
.travis.yml Normal file
View File

@ -0,0 +1,10 @@
language: python
python:
- "2.7"
# command to install dependencies
install: "pip install -q -r requirements.txt --use-mirrors"
# 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.

1
requirements.txt Normal file
View File

@ -0,0 +1 @@
sphinx