blob: d7f652ac3f5e72f3276672711ff3724490bfd9bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# 'Tox' is a tool for automating build/test cycles against
# multiple Python versions:
# http://pypi.python.org/pypi/tox
# http://tox.readthedocs.io/en/latest/
# Running the command 'tox' while in the root of the virt-bootstrap
# source directory will:
# - Create a source distribution (setup.py sdist)
# - Then for every supported version of Python:
# - Create a virtualenv in .tox/py$VERSION and install dependencies.
# (These virtualenvs are cached across runs unless you use
# --recreate.)
# - Use pip to install the virt-bootstrap sdist into the virtualenv
# - Run the virt-bootstrap tests
# To run against a specific subset of Python versions, use:
# tox -e py27
[tox]
envlist = py27,py3
[testenv]
commands={envpython} {toxinidir}/setup.py test
deps=-rrequirements.txt
passenv=HOME
|