[tox]
envlist = py27, docs
skipsdist = True

[testenv]
setenv =
    PYTHONPATH = {toxinidir}:{toxinidir}/workbench
deps =
    # git+https://github.com/newbrough/coverage.git
    git+https://github.com/nedbat/coveragepy.git
    # coverage
    pytest
    pytest-cov
    pyjack
install =
    pip install -e .
commands =
    py.test test/test_server_spinup.py workbench/workers workbench/clients
    coverage combine

[pytest]
addopts= -v --doctest-modules --cov=workbench --cov-report term-missing
python_files=*.py
python_functions=test
norecursedirs=.tox .git timeout_corner
    
[testenv:docs]
changedir=docs/
deps =
    pytest
    sphinx
    mozilla_sphinx_theme
install =
    pip install -e .
commands =
    sphinx-apidoc -o . ../workbench
    # sphinx-build -b linkcheck ./ _build/html
    sphinx-build -b html ./ _build/html

[tox]
envlist = py27, docs

[testenv]
setenv =
    PYTHONPATH = {toxinidir}:{toxinidir}/workbench
deps =
    # git+https://github.com/newbrough/coverage.git
    git+https://github.com/nedbat/coveragepy.git
    # coverage
    pytest
    pytest-cov
    pyjack
install =
    pip install -e .
commands =
    py.test test/test_server_spinup.py workbench/workers workbench/clients
    coverage combine

[pytest]
addopts= -v --doctest-modules --cov=workbench --cov-report term-missing
python_files=*.py
python_functions=test
norecursedirs=.tox .git timeout_corner
    
[testenv:docs]
changedir=docs/
deps =
    pytest
    sphinx
    mozilla_sphinx_theme
install =
    pip install -e .
commands =
    sphinx-apidoc -o . ../workbench
    # sphinx-build -b linkcheck ./ _build/html
    sphinx-build -b html ./ _build/html

Revert "setting skipsdist = True"
Revert "setting skipsdist = True"

This reverts commit c36daea1f29e08c6448ac595b23ace58d8873c21.
