Clean up tox.ini using generative envlist.

This commit is contained in:
Aron Griffis 2015-11-29 15:16:58 -05:00
parent e9220659b0
commit 7ac78a0d40
1 changed files with 5 additions and 66 deletions

71
tox.ini
View File

@ -1,16 +1,7 @@
[tox]
envlist =
py26-without-extensions,
py27-without-extensions,
py33-without-extensions,
py34-without-extensions,
py35-without-extensions,
pypy-without-extensions,
py26-with-extensions,
py27-with-extensions,
py33-with-extensions,
py34-with-extensions,
py35-with-extensions
py{26,27,33,34,35}-{without,with}-extensions,
pypy-without-extensions
[testenv]
deps =
@ -18,61 +9,9 @@ deps =
pytest
commands =
{env:COVERAGE_CMD:} py.test -v []
setenv =
without-extensions: WRAPT_EXTENSIONS = false
with-extensions: WRAPT_EXTENSIONS = true
[pytest]
norecursedirs = .tox venv
[testenv:py26-without-extensions]
basepython = python2.6
setenv =
WRAPT_EXTENSIONS = false
[testenv:py27-without-extensions]
basepython = python2.7
setenv =
WRAPT_EXTENSIONS = false
[testenv:py33-without-extensions]
basepython = python3.3
setenv =
WRAPT_EXTENSIONS = false
[testenv:py34-without-extensions]
basepython = python3.4
setenv =
WRAPT_EXTENSIONS = false
[testenv:py35-without-extensions]
basepython = python3.5
setenv =
WRAPT_EXTENSIONS = false
[testenv:pypy-without-extensions]
basepython = pypy
setenv =
WRAPT_EXTENSIONS = false
[testenv:py26-with-extensions]
basepython = python2.6
setenv =
WRAPT_EXTENSIONS = true
[testenv:py27-with-extensions]
basepython = python2.7
setenv =
WRAPT_EXTENSIONS = true
[testenv:py33-with-extensions]
basepython = python3.3
setenv =
WRAPT_EXTENSIONS = true
[testenv:py34-with-extensions]
basepython = python3.4
setenv =
WRAPT_EXTENSIONS = true
[testenv:py35-with-extensions]
basepython = python3.5
setenv =
WRAPT_EXTENSIONS = true