Skip to content

Commit

Permalink
Add tox commands
Browse files Browse the repository at this point in the history
  • Loading branch information
saimn committed Apr 22, 2015
1 parent 42df221 commit cd301b5
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 11 deletions.
7 changes: 6 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
[wheel]
universal = 1
universal = 1

[check-manifest]
ignore =
.coveragerc
tests
33 changes: 23 additions & 10 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,18 +1,31 @@
[tox]
envlist = py27,py33,py34
envlist = py27,py33,py34,report,check

[testenv]
commands = py.test
deps =

[testenv:py27]
commands = py.test --cov sigal --cov-report term-missing
deps =
pytest
pytest-capturelog
pytest-cov

[testenv:py33]
deps =
pytest
[testenv:report]
basepython = python3.4
commands =
coverage combine
coverage report
usedevelop = true
deps = coverage

[testenv:py34]
[testenv:check]
basepython = python3.4
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}

0 comments on commit cd301b5

Please sign in to comment.