summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-05-12 06:22:16 -0700
committerCharles Harris <charlesr.harris@gmail.com>2013-05-12 06:22:16 -0700
commit85d8ba51998cad4860cd893c73c13c65f39bb6c4 (patch)
treea8752875b7074e128b37a795fbc148895e90f70e
parent273225cbf57fac6fae98815b8c760620fc6d18bc (diff)
parent7f8aefc318d8625fa1492d9963512543538a7520 (diff)
downloadnumpy-85d8ba51998cad4860cd893c73c13c65f39bb6c4.tar.gz
Merge pull request #3327 from pv/tox-fix
MAINT: remove unsupported Python versions from tox.ini
-rw-r--r--tox.ini30
1 files changed, 19 insertions, 11 deletions
diff --git a/tox.ini b/tox.ini
index fd52674dc..0fb63300b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -13,7 +13,7 @@
# - Use pip to install the numpy sdist into the virtualenv
# - Run the numpy tests
# To run against a specific subset of Python versions, use:
-# tox -e py24,py27
+# tox -e py27
# Extra arguments will be passed to test-installed-numpy.py. To run
# the full testsuite:
@@ -22,27 +22,35 @@
# tox -- -v
# Tox assumes that you have appropriate Python interpreters already
-# installed and that they can be run as 'python2.4', 'python2.5', etc.
+# installed and that they can be run as 'python2.7', 'python3.3', etc.
[tox]
-envlist = py24,py25,py26,py27,py31,py32,py27-separate,py32-separate
+envlist = py26,py27,py32,py33,py27-monolithic,py33-monolithic,py27-relaxed-strides,py33-relaxed-strides
[testenv]
deps=
nose
changedir={envdir}
-commands=python {toxinidir}/tools/test-installed-numpy.py {posargs:}
+commands={envpython} {toxinidir}/tools/test-installed-numpy.py --mode=full {posargs:}
-[testenv:py27-separate]
+[testenv:py27-monolithic]
basepython=python2.7
-env=NPY_SEPARATE_COMPILATION=1
+env=NPY_SEPARATE_COMPILATION=0
-[testenv:py32-separate]
-basepython=python3.2
-env=NPY_SEPARATE_COMPILATION=1
+[testenv:py33-monolithic]
+basepython=python3.3
+env=NPY_SEPARATE_COMPILATION=0
+
+[testenv:py27-relaxed-strides]
+basepython=python2.7
+env=NPY_RELAXED_STRIDES_CHECKING=1
+
+[testenv:py33-relaxed-strides]
+basepython=python3.3
+env=NPY_RELAXED_STRIDES_CHECKING=1
# Not run by default. Set up the way you want then use 'tox -e debug'
# if you want it:
[testenv:debug]
-basepython=PYTHON-WITH-DEBUG-INFO
-commands=gdb --args {envpython} {toxinidir}/tools/test-installed-numpy.py {posargs:}
+basepython=python-dbg
+commands=gdb --args {envpython} {toxinidir}/tools/test-installed-numpy.py --mode=full {posargs:}