diff options
author | 2015-07-13 23:26:02 -0400 | |
---|---|---|
committer | 2015-07-13 23:26:02 -0400 | |
commit | 55da1391cb8a2bd6bedac972b0fa80cf8e134ee1 (patch) | |
tree | f65e10da374b128d2c93aeb56b70a00e276a0b8e /tox.ini | |
parent | git: ignore some more generated files (diff) | |
download | pkgcheck-55da1391cb8a2bd6bedac972b0fa80cf8e134ee1.tar.gz pkgcheck-55da1391cb8a2bd6bedac972b0fa80cf8e134ee1.tar.bz2 pkgcheck-55da1391cb8a2bd6bedac972b0fa80cf8e134ee1.zip |
travis-ci: sync over various test procedure updates from pkgcore
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -10,14 +10,16 @@ setenv = PYTHONPATH = {envsitepackagesdir} deps = pytest + pytest-xdist + pytest-cov mock - coverage>=4.0a1 https://github.com/pkgcore/snakeoil/archive/master.tar.gz commands = # can't add to deps yet because its setup.py script deps on snakeoil pip install https://github.com/pkgcore/pkgcore/archive/master.tar.gz pip install -I "{toxinidir}" cp "{toxinidir}/.coveragerc" "{envsitepackagesdir}" - coverage run -m py.test {posargs:pkgcheck/test} - coverage report - coverage html -d "{envdir}/coverage" + py.test {posargs:-n 4 --cov pkgcheck pkgcheck/test} + +# stub for travis-ci python nightly tests +[testenv:pynightly] |