diff options
author | Tim Harder <radhermit@gmail.com> | 2015-07-13 23:01:47 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gmail.com> | 2015-07-13 23:01:47 -0400 |
commit | eee7e3418e8ef7576d0e4925578c59aadccc0760 (patch) | |
tree | 74113ef974f2717c961689202b2b6c0e8f829e88 /tox.ini | |
parent | test: fix osutils.mount failure test running on travis-ci containers (diff) | |
download | snakeoil-eee7e3418e8ef7576d0e4925578c59aadccc0760.tar.gz snakeoil-eee7e3418e8ef7576d0e4925578c59aadccc0760.tar.bz2 snakeoil-eee7e3418e8ef7576d0e4925578c59aadccc0760.zip |
travis-ci: sync over various test procedure updates from pkgcore
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -8,13 +8,13 @@ setenv = PYTHONPATH = {envsitepackagesdir} deps = pytest + pytest-xdist + pytest-cov mock coverage>=4.0a1 commands = cp "{toxinidir}/.coveragerc" "{envsitepackagesdir}" - coverage run -m py.test {posargs:snakeoil/test} - coverage report - coverage html -d "{envdir}/coverage" + py.test {posargs:-n 4 --cov pkgcore pkgcore/test} [testenv:lint] whitelist_externals = @@ -30,3 +30,6 @@ commands = cp "{toxinidir}"/pylint ./snakeoil-pylint bash -c "[[ $({envpython} -c 'import sys; print(sys.version[0])') == "3" ]] && 2to3 -wn lintplugin" ./snakeoil-pylint -f colorized --reports y snakeoil + +# stub for travis-ci python nightlies tests +[testenv:pynightly] |