Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Commit

Permalink
tox: update to using pytest-* modules like other pkgcore projects
Browse files Browse the repository at this point in the history
  • Loading branch information
radhermit committed Jul 27, 2015
1 parent e512b81 commit 7f5a15b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[tox]
envlist = py27, py33, py34
skipsdist = True
[testenv]
whitelist_externals = cp
install_command = pip install {opts} --upgrade {packages}
changedir = {envsitepackagesdir}
setenv =
PYTHONPATH = {envsitepackagesdir}
deps =
pytest
pytest-xdist
pytest-cov
mock
coverage>=4.0a1
-rrequirements.txt
commands =
pip install "{toxinidir}"
cp "{toxinidir}/.coveragerc" "{envsitepackagesdir}"
coverage run -m py.test {posargs:{toxinidir}/test}
coverage report
coverage html -d "{envdir}/coverage"
py.test {posargs:-n 4 --cov chroot "{toxinidir}/test"}

0 comments on commit 7f5a15b

Please sign in to comment.