summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2018-08-09 00:09:32 -0500
committerMichael Merickel <michael@merickel.org>2018-08-09 00:09:49 -0500
commit0760eba8fd5a0d8f0424c329ce92e9fb8d003f11 (patch)
tree9a030a8a45f8821d7a103bd07496c18a9a691391
parent88138fd12ef38975b66b2e4dde8472cdc7c8a26f (diff)
downloadpyramid-0760eba8fd5a0d8f0424c329ce92e9fb8d003f11.tar.gz
pyramid-0760eba8fd5a0d8f0424c329ce92e9fb8d003f11.tar.bz2
pyramid-0760eba8fd5a0d8f0424c329ce92e9fb8d003f11.zip
let tox install the extras for us from the sdist
-rw-r--r--tox.ini16
1 files changed, 11 insertions, 5 deletions
diff --git a/tox.ini b/tox.ini
index 4dcc219c0..758d4216b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -19,9 +19,11 @@ basepython =
py3: python3.5
commands =
- pip install -q pyramid[testing]
nosetests --with-xunit --xunit-file=nosetests-{envname}.xml {posargs:}
+extras =
+ testing
+
[testenv:py27-scaffolds]
basepython = python2.7
commands =
@@ -68,34 +70,38 @@ deps =
basepython = python3.5
whitelist_externals = make
commands =
- pip install pyramid[docs]
make -C docs doctest html epub BUILDDIR={envdir} "SPHINXOPTS=-W -E"
+extras =
+ docs
[testenv:pdf]
basepython = python3.5
whitelist_externals = make
commands =
- pip install pyramid[docs]
make -C docs latexpdf BUILDDIR={envdir} "SPHINXOPTS=-W -E"
+extras =
+ docs
# we separate coverage into its own testenv because a) "last run wins" wrt
# cobertura jenkins reporting and b) pypy and jython can't handle any
# combination of versions of coverage and nosexcover that i can find.
[testenv:py2-cover]
commands =
- pip install -q pyramid[testing]
coverage run --source=pyramid {envbindir}/nosetests
coverage xml -o coverage-py2.xml
setenv =
COVERAGE_FILE=.coverage.py2
+extras =
+ testing
[testenv:py3-cover]
commands =
- pip install -q pyramid[testing]
coverage run --source=pyramid {envbindir}/nosetests
coverage xml -o coverage-py3.xml
setenv =
COVERAGE_FILE=.coverage.py3
+extras =
+ testing
[testenv:coverage]
skip_install = True