Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2826)

Unified Diff: bootstrap/virtualenv/tox.ini

Issue 2043213002: Roll virtualenv 12.0->15.0.2 (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: vendor virtualenv and exclude from gender check Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bootstrap/virtualenv/tests/test_virtualenv.py ('k') | bootstrap/virtualenv/virtualenv.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bootstrap/virtualenv/tox.ini
diff --git a/bootstrap/virtualenv/tox.ini b/bootstrap/virtualenv/tox.ini
new file mode 100644
index 0000000000000000000000000000000000000000..e9f1df6e49013408f4a16220d3337305dd64ddec
--- /dev/null
+++ b/bootstrap/virtualenv/tox.ini
@@ -0,0 +1,36 @@
+[tox]
+# env names must be a valid python binary name, unless they have a
+# separate configuration
+envlist =
+ python{2.6,2.7,3.3,3.4,3.5}, pypy{,3}, crosspython{2,3}, docs
+
+[testenv]
+deps =
+ mock
+ pytest
+commands =
+ py.test
+
+# Creating a python3 venv with a python2-based virtualenv
+[testenv:crosspython2]
+basepython=python2
+deps =
+commands =
+ virtualenv -p python3 {envtmpdir}/{envname}
+ {envtmpdir}/{envname}/bin/python -V 2>&1 | grep "Python 3"
+
+# Creating a python2 venv with a python3-based virtualenv
+[testenv:crosspython3]
+basepython=python3
+deps =
+commands =
+ virtualenv -p python2 {envtmpdir}/{envname}
+ {envtmpdir}/{envname}/bin/python -V 2>&1 | grep "Python 2"
+
+[testenv:docs]
+deps =
+ sphinx
+ readme
+commands =
+ sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
+ python setup.py check -m -r -s
« no previous file with comments | « bootstrap/virtualenv/tests/test_virtualenv.py ('k') | bootstrap/virtualenv/virtualenv.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698