Shared tox envdir

This commit is contained in:
Jakub Warmuz 2015-07-10 16:39:19 +00:00
parent 2e9cf9a5d5
commit db1e078c06
No known key found for this signature in database
GPG key ID: 2A7BAD3A489B52EA
3 changed files with 6 additions and 2 deletions

View file

@ -6,6 +6,6 @@
# test docker on their git working directories.
.git
.tox
tox.cover
venv
docs

2
.gitignore vendored
View file

@ -4,7 +4,7 @@
build/
dist/
/venv/
/.tox/
/tox.venv/
letsencrypt.log
# coverage

View file

@ -9,6 +9,10 @@ skipsdist = true
envlist = py26,py27,cover,lint
[testenv]
# share one venv across testenvs, instead of multiple
# .tox/{py26,py27,cover,lint}; but do NOT set envdir to
# {toxinidir}/venv as it will destroy existing dev venv
envdir = {toxinidir}/tox.venv
commands =
pip install -r requirements.txt -e acme -e .[testing] -e letsencrypt_apache -e letsencrypt_nginx
# -q does not suppress errors