Codebase list sshtunnel / f6e39624-45a7-4356-9adb-b175d7d1eeba/main tox.ini
f6e39624-45a7-4356-9adb-b175d7d1eeba/main

Tree @f6e39624-45a7-4356-9adb-b175d7d1eeba/main (Download .tar.gz)

tox.ini @f6e39624-45a7-4356-9adb-b175d7d1eeba/mainraw · history · blame

[tox]
envlist = syntax, py{27,34,35,36,37}, docs

[testenv]
basepython =
    py27: python2.7
    py34: python3.4
    py35: python3.5
    py36: python3.6
    py37: python3.7
deps =
    mock
    pytest
    pytest-cov
    pytest-xdist
commands =
    python -V
    py.test --showlocals --cov sshtunnel --durations=10 -n4 tests -W ignore::DeprecationWarning

[testenv:docs]
basepython = python
changedir = docs
deps =
    -r{toxinidir}/docs/requirements-docs.txt
commands=
    sphinx-build -WavE -b html -d {envtmpdir}/_build/doctrees .  {envtmpdir}/_build/html

[testenv:syntax]
basepython = python
skip_install = True
deps =
    bashtest
    check-manifest
    docutils
    flake8
    mccabe
    pygments
    readme
    twine
commands =
    check-manifest --ignore "tox.ini,tests*,*.yml"
    python setup.py sdist
    twine check dist/*
    flake8 --ignore=W504 .
    bashtest README.rst

[flake8]
exclude = .tox,*.egg,build,data,docs
select = E,W,F
max-complexity = 10