taskflow/tox.ini
Davanum Srinivas 9e96331a9d Remove python 2.6 and cleanup tox.ini
* Remove support for python 2.6
* Remove skipsdist : Needs to be set only if 
  sdist is expensive
* Remove usedevelop : only needed when skipsdist 
  is set to True
* Remove install_command : We can just use the 
  default, we don't need to override
* Remove setenv : We can just use the default as
  we don't need any extra environment variables
* Remove requirements.txt from deps, as this is
  already added automatically


Change-Id: I3564e6d2dfaf64b573382d776e6a79a442750139
2015-11-16 00:23:21 +00:00

58 lines
1.1 KiB
INI

[tox]
minversion = 1.6
envlist = cover,
docs,
pep8,
py27,
py34,
pylint,
update-states
[testenv]
deps = -r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:docs]
commands = python setup.py build_sphinx
doc8 doc/source
[testenv:update-states]
deps = {[testenv]deps}
pydot2
commands = {toxinidir}/tools/update_states.sh
[tox:jenkins]
downloadcache = ~/cache/pip
[testenv:pep8]
commands = flake8 {posargs}
[testenv:pylint]
setenv = VIRTUAL_ENV={envdir}
deps = {[testenv]deps}
pylint==0.26.0
commands = pylint --rcfile=pylintrc taskflow
[testenv:cover]
deps = {[testenv]deps}
coverage>=3.6
commands = python setup.py testr --coverage --testr-args='{posargs}'
[testenv:venv]
commands = {posargs}
[flake8]
builtins = _
exclude = .venv,.tox,dist,doc,*egg,.git,build,tools
[hacking]
import_exceptions = six.moves
taskflow.test.mock
unittest.mock
[testenv:py27]
commands =
python setup.py testr --slowest --testr-args='{posargs}'
sphinx-build -b doctest doc/source doc/build
doc8 --ignore-path "doc/source/history.rst" doc/source