compose/tox.ini
funkyfuture 9aa61e596e Run tests against Python 2.6, 2.7, 3.3, 3.4 and PyPy2
In particular it includes:
- some extension of CONTRIBUTING.md
- one fix for Python 2.6 in tests/integration/cli_test.py
- one fix for Python 3.3 in tests/integration/service_test.py
- removal of unused imports

Make stream_output Python 3-compatible

Signed-off-by: Frank Sachsenheim <funkyfuture@riseup.net>
2015-08-25 10:41:09 -04:00

46 lines
819 B
INI

[tox]
envlist = py27,py34,pre-commit
[testenv]
usedevelop=True
passenv =
LD_LIBRARY_PATH
deps =
-rrequirements.txt
commands =
nosetests -v --with-coverage --cover-branches --cover-package=compose --cover-erase --cover-html-dir=coverage-html --cover-html {posargs}
flake8 compose tests setup.py
[testenv:pre-commit]
skip_install = True
deps =
pre-commit
commands =
pre-commit install
pre-commit run --all-files
[testenv:py26]
deps =
{[testenv]deps}
-rrequirements-dev-py2.txt
[testenv:py27]
deps = {[testenv:py26]deps}
[testenv:pypy]
deps = {[testenv:py26]deps}
[testenv:py33]
deps =
{[testenv]deps}
-rrequirements-dev-py3.txt
[testenv:py34]
deps = {[testenv:py33]deps}
# TODO pypy3
[flake8]
# ignore line-length for now
ignore = E501,E203
exclude = compose/packages