tox.ini: add package target
This commit is contained in:
parent
f421d3c4c4
commit
e3bb9b8694
10
tox.ini
10
tox.ini
|
@ -4,7 +4,7 @@
|
|||
# and then run "tox" from this directory.
|
||||
|
||||
[tox]
|
||||
envlist = coverage, nocoverage
|
||||
envlist = coverage, nocoverage, package
|
||||
|
||||
[testenv:coverage]
|
||||
usedevelop = true
|
||||
|
@ -20,3 +20,11 @@ deps = pytest
|
|||
pytest-random
|
||||
commands =
|
||||
py.test {posargs} tests
|
||||
|
||||
[testenv:package]
|
||||
install_command = pip install --pre --find-links https://jenkins.entrouvert.org/packages/ {opts} {packages}
|
||||
deps = setuptools
|
||||
pip
|
||||
eobuilder
|
||||
commands =
|
||||
sh -c "sudo -u eobuilder -E env HOME=/var/lib/eobuilder PATH=$PATH $VIRTUAL_ENV/bin/eobuilder-ctl -d wheezy,jessie `pwd`"
|
||||
|
|
Loading…
Reference in New Issue