2015-02-04 13:22:43 +00:00
|
|
|
[tox]
|
2015-02-16 10:13:25 +00:00
|
|
|
minversion = 1.4
|
|
|
|
envlist = py27, py33, py34
|
|
|
|
|
|
|
|
[pep8]
|
|
|
|
exclude = qpol.py
|
|
|
|
max-line-length = 100
|
2015-02-04 13:22:43 +00:00
|
|
|
|
|
|
|
[testenv:pep8]
|
2015-02-16 10:13:25 +00:00
|
|
|
deps = pep8
|
|
|
|
commands = pep8 --version
|
|
|
|
pep8 setools/ tests/ seinfo seinfoflow sedta sesearch --statistics -v
|
|
|
|
|
|
|
|
[testenv:py27-coverage]
|
|
|
|
basepython = python2.7
|
2015-02-16 21:55:08 +00:00
|
|
|
deps = networkx==1.9
|
|
|
|
mock
|
2015-02-16 10:13:25 +00:00
|
|
|
coverage
|
|
|
|
commands = coverage --version
|
|
|
|
coverage erase
|
|
|
|
coverage run setup.py test
|
|
|
|
coverage report
|
2015-02-04 13:22:43 +00:00
|
|
|
|
2015-02-16 10:13:25 +00:00
|
|
|
[testenv:py33-coverage]
|
|
|
|
basepython = python3.3
|
2015-02-16 21:55:08 +00:00
|
|
|
deps = networkx==1.9
|
2015-02-16 10:13:25 +00:00
|
|
|
coverage
|
|
|
|
commands = coverage --version
|
|
|
|
coverage erase
|
|
|
|
coverage run setup.py test
|
|
|
|
coverage report
|
2015-02-04 13:22:43 +00:00
|
|
|
|
2015-02-16 10:13:25 +00:00
|
|
|
[testenv:py34-coverage]
|
|
|
|
basepython = python3.4
|
2015-02-16 21:55:08 +00:00
|
|
|
deps = networkx==1.9
|
2015-02-16 10:13:25 +00:00
|
|
|
coverage
|
|
|
|
commands = coverage --version
|
|
|
|
coverage erase
|
|
|
|
coverage run setup.py test
|
|
|
|
coverage report
|
2015-02-04 13:22:43 +00:00
|
|
|
|
|
|
|
[testenv]
|
2015-02-16 10:13:25 +00:00
|
|
|
deps = networkx==1.9
|
2015-02-16 21:31:18 +00:00
|
|
|
py27: mock
|
2015-02-16 10:13:25 +00:00
|
|
|
commands = {envpython} setup.py test
|