Skip to content

Commit

Permalink
Shared tox envdir
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba committed Jul 10, 2015
1 parent 2e9cf9a commit db1e078
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
# test docker on their git working directories.

.git
.tox
tox.cover
venv
docs
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
build/
dist/
/venv/
/.tox/
/tox.venv/
letsencrypt.log

# coverage
Expand Down
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db1e078

Please sign in to comment.