Add doctest capability to the docs, run it in Travis CI

This commit is contained in:
Honza Kral
2013-05-06 16:15:58 +02:00
parent d5bb5976b8
commit 814b0dff81
2 changed files with 7 additions and 0 deletions
+2
View File
@@ -6,5 +6,7 @@ python:
- "pypy"
install:
- pip install -r dev_requirements.txt --use-mirrors
- python setup.py develop
script:
- python setup.py test
- make -C docs doctest
+5
View File
@@ -6,6 +6,11 @@
Welcome to Elasticsearch's documentation!
=========================================
.. doctest::
>>> from elasticsearch import Elasticsearch
>>> es = Elasticsearch()
Contents:
.. toctree::