Codebase list logbook / 1c91167 tox.ini
1c91167

Tree @1c91167 (Download .tar.gz)

tox.ini @1c91167raw · history · blame

[tox]
envlist=py27,py34,py35,py36,pypy,docs
skipsdist=True

[testenv]
whitelist_externals=
   rm
deps=
   py{27}: mock
   pytest
   Cython
changedir={toxinidir}
commands=
   {envbindir}/cython logbook/_speedups.pyx
   {envpython} {toxinidir}/setup.py develop
   {envpython} {toxinidir}/scripts/test_setup.py
   py.test {toxinidir}/tests
   rm -f {toxinidir}/logbook/_speedups.\{so,c\}

[testenv:pypy]
deps=
   mock
   pytest
commands=
   {envpython} {toxinidir}/setup.py develop
   {envpython} {toxinidir}/scripts/test_setup.py
   py.test {toxinidir}/tests

[testenv:docs]
deps=
  Sphinx==1.1.3
changedir=docs
commands=
 sphinx-build -W -b html . _build/html
 sphinx-build -W -b linkcheck . _build/linkcheck