summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2013-05-11 14:28:42 +0300
committerPauli Virtanen <pav@iki.fi>2013-05-12 12:04:00 +0300
commit7f8aefc318d8625fa1492d9963512543538a7520 (patch)
treebfc77c4a239037452e944c38face22ccc1d1d2b0 /tox.ini
parentc6fc9a2d916797f1867d5ed49964be25e026736d (diff)
downloadnumpy-7f8aefc318d8625fa1492d9963512543538a7520.tar.gz
MAINT: update tox.ini
Remove unsupported Python versions, flip the NPY_SEPARATE_COMPILATION flags, and add NPY_RELAXED_STRIDES, mirroring the travis configuration.
Diffstat (limited to '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:}