Skip to content
Snippets Groups Projects
Commit 428b1b11 authored by Robert Habermann's avatar Robert Habermann
Browse files

simplify tox config

parent 4d11b515
No related branches found
No related tags found
No related merge requests found
......@@ -15,28 +15,21 @@ envlist =
deps =
coverage
mock
commands =
coverage run -a setup.py test
coverage report
/bin/sh -c "if [ ! -d .coverage.data ]; then /bin/mkdir .coverage.data; fi"
/bin/mv {toxinidir}/.coverage {toxinidir}/.coverage.data/.coverage.{envname}
whitelist_externals =
/bin/sh
/bin/mv
# --------------------------------------------------------------------
# Python version envs
# Python version specfic overrides
# --------------------------------------------------------------------
[testenv:py26]
[testenv:py27]
[testenv:py33]
[testenv:py34]
[testenv:py35]
# --------------------------------------------------------------------
# Coverage
......@@ -67,17 +60,18 @@ commands = python setup.py sdist
[testenv:py3kwarn]
deps =
py3kwarn
commands =
py3kwarn pyotrs
[testenv:pep8]
basepython =
python3.4
deps =
flake8
flake8-quotes
basepython =
python3.4
commands =
flake8 \
--max-complexity=15 \
......@@ -90,11 +84,10 @@ commands =
# Documentation
# --------------------------------------------------------------------
[testenv:docs]
basepython =
python2.7
deps =
jinja2
pygments
docutils
markupsafe
sphinx
sphinxcontrib-napoleon
sphinx_rtd_theme
......@@ -102,9 +95,6 @@ deps =
whitelist_externals =
pandoc
basepython =
python2.7
commands =
pandoc -f markdown -t rst -o {toxinidir}/docs/source/changelog_pandoc.txt CHANGELOG.md
pandoc -f markdown -t rst -o {toxinidir}/docs/source/contributing_pandoc.txt CONTRIBUTING.md
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment