diff options
author | Tim Harder <radhermit@gmail.com> | 2017-09-29 01:54:26 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gmail.com> | 2017-09-29 01:54:26 -0400 |
commit | 277f3c59331c6c0c54a05cdc4359da31055ab790 (patch) | |
tree | 11303114cd46f47e1c2b343e70122dfe1d52526a /tox.ini | |
parent | cli.arghparse: ArgumentParser: use an immutable dict for subparsers property (diff) | |
download | snakeoil-277f3c59331c6c0c54a05cdc4359da31055ab790.tar.gz snakeoil-277f3c59331c6c0c54a05cdc4359da31055ab790.tar.bz2 snakeoil-277f3c59331c6c0c54a05cdc4359da31055ab790.zip |
tox: use pip.sh shim to install deps with fallbacks
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -1,28 +1,38 @@ [tox] envlist = py27, py34, py35, py36, coverage-report [testenv] +install_command = "{toxinidir}"/requirements/pip.sh {packages} deps = - -rrequirements/build.txt - -rrequirements/install.txt -rrequirements/tox.txt commands = coverage run --parallel -m pytest {posargs:-v} "{envsitepackagesdir}"/snakeoil # generate coverage report [testenv:coverage-report] -deps = coverage skip_install = true +deps = coverage commands = coverage combine coverage report # build docs [testenv:docs] +skip_install = true deps = -rrequirements/docs.txt commands = python setup.py build_man build_docs +# build dist files +[testenv:dist] +skip_install = true +deps = + -rrequirements/docs.txt + -rrequirements/wheel.txt +commands = + python setup.py sdist + python setup.py bdist_wheel + # stub for travis-ci [testenv:travis] commands = |