diff options
author | Cédric Bosdonnat <cbosdonnat@suse.com> | 2017-09-05 16:06:48 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cbosdonnat@suse.com> | 2017-09-07 11:49:01 +0200 |
commit | d025bfb2630a819bea6bb3e242da3fd2bcba6ed3 (patch) | |
tree | 377cb464f14d8a60627d575285d225ea5631a4e9 | |
parent | 9f76c63d16a7dcd7cc3f4f2d6ac20e8d978d8c22 (diff) | |
download | virt-bootstrap.git-d025bfb2630a819bea6bb3e242da3fd2bcba6ed3.tar.gz virt-bootstrap.git-d025bfb2630a819bea6bb3e242da3fd2bcba6ed3.tar.xz virt-bootstrap.git-d025bfb2630a819bea6bb3e242da3fd2bcba6ed3.zip |
tox setup: pass HOME environment variable
Tests need the HOME environment variable, tell tox to pass it to the
virtual environment.
Also fix line endings of tox.ini to unix ones.
-rw-r--r-- | tox.ini | 49 |
1 files changed, 25 insertions, 24 deletions
@@ -1,24 +1,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
+# '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 |