2014-01-06 03:53:26 +01:00
|
|
|
[tox]
|
2014-08-19 23:36:46 +02:00
|
|
|
envlist = py27,py34,pre-commit
|
2014-01-06 03:53:26 +01:00
|
|
|
|
|
|
|
[testenv]
|
2014-07-30 22:11:11 +02:00
|
|
|
usedevelop=True
|
2015-08-24 21:15:08 +02:00
|
|
|
passenv =
|
|
|
|
LD_LIBRARY_PATH
|
2014-07-15 21:59:25 +02:00
|
|
|
deps =
|
|
|
|
-rrequirements.txt
|
2014-01-06 03:53:26 +01:00
|
|
|
commands =
|
2014-12-11 19:08:39 +01:00
|
|
|
nosetests -v {posargs}
|
2015-03-26 17:09:15 +01:00
|
|
|
flake8 compose tests setup.py
|
2014-07-15 22:22:16 +02:00
|
|
|
|
2015-08-24 21:15:08 +02:00
|
|
|
[testenv:pre-commit]
|
|
|
|
skip_install = True
|
|
|
|
deps =
|
|
|
|
pre-commit
|
|
|
|
commands =
|
|
|
|
pre-commit install
|
|
|
|
pre-commit run --all-files
|
|
|
|
|
2014-08-19 23:36:46 +02:00
|
|
|
[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}
|
|
|
|
|
|
|
|
|
2014-07-15 22:22:16 +02:00
|
|
|
[flake8]
|
|
|
|
# ignore line-length for now
|
|
|
|
ignore = E501,E203
|
2015-02-14 20:09:55 +01:00
|
|
|
exclude = compose/packages
|