language: python
python:
  - "2.6"
  - "2.7"

env:
#   - DJANGO_SPEC=Django==1.4.8
  - DJANGO_SPEC=Django==1.5.4
  - DJANGO_SPEC=https://www.djangoproject.com/download/1.6b4/tarball/\#egg\=Django

install:
  - pip install coveralls --use-mirrors
  - pip install --use-mirrors $DJANGO_SPEC
  - pip install Sphinx
  - python setup.py install

script:
  - coverage run --source=rebar setup.py test
  - cd docs; make doctest

after_success:
  - coveralls
language: python
python:
  - "2.6"
  - "2.7"

env:
#   - DJANGO_SPEC=Django==1.4.8
  - DJANGO_SPEC=Django==1.5.4
  - DJANGO_SPEC=https://www.djangoproject.com/download/1.6b4/tarball/\#egg\=Django

install:
  - pip install coveralls --use-mirrors
  - pip install --use-mirrors $DJANGO_SPEC
  - pip install Sphinx
  - python setup.py install

script:
  - coverage run --source=rebar setup.py test
  - sphinx-build -E -W -b doctest docs build

after_success:
  - coveralls
Use sphinx-build for running doctests like we do with tox.
Use sphinx-build for running doctests like we do with tox.
