Browse Source

Add tox commands

pull/160/head
Simon Conseil 11 years ago
parent
commit
cd301b5029
  1. 7
      setup.cfg
  2. 33
      tox.ini

7
setup.cfg

@ -1,2 +1,7 @@
[wheel] [wheel]
universal = 1 universal = 1
[check-manifest]
ignore =
.coveragerc
tests

33
tox.ini

@ -1,18 +1,31 @@
[tox] [tox]
envlist = py27,py33,py34 envlist = py27,py33,py34,report,check
[testenv] [testenv]
commands = py.test commands = py.test --cov sigal --cov-report term-missing
deps =
[testenv:py27]
deps = deps =
pytest pytest
pytest-capturelog
pytest-cov
[testenv:py33] [testenv:report]
deps = basepython = python3.4
pytest commands =
coverage combine
coverage report
usedevelop = true
deps = coverage
[testenv:py34] [testenv:check]
basepython = python3.4
deps = deps =
pytest docutils
check-manifest
flake8
collective.checkdocs
pygments
usedevelop = true
commands =
python setup.py checkdocs
python setup.py check --strict --metadata
check-manifest {toxinidir}

Loading…
Cancel
Save