summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorHubert Kario <hubert@kario.pl>2019-11-30 01:17:52 +0100
committerHubert Kario <hkario@redhat.com>2019-12-02 20:10:25 +0100
commita67da69a9f91e4e16594d704ed91b659bb1afdc8 (patch)
treefe1730f66a2e26154a0c31064633857a31a26be4 /tox.ini
parentb1568d4a69c8868333e0de37365196079d535dfb (diff)
downloadecdsa-a67da69a9f91e4e16594d704ed91b659bb1afdc8.tar.gz
ensure old versions of gmpy(2) work
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini14
1 files changed, 14 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 1416479..99ee89b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -20,12 +20,26 @@ deps =
py27_old_six: six==1.9.0
py27_old_six: pytest
py27_old_six: hypothesis
+# those are the oldest versions of gmpy and gmpy2 on PyPI (i.e. oldest we can
+# actually test), older versions may work, but are not easy to test
+ py27_old_gmpy: gmpy==1.15
+ py27_old_gmpy: pytest
+ py27_old_gmpy: hypothesis
+ py27_old_gmpy2: gmpy2==2.0.1
+ py27_old_gmpy2: pytest
+ py27_old_gmpy2: hypothesis
py: pytest
py: hypothesis
py{33}: wheel<0.30
coverage
commands = coverage run --branch -m pytest {posargs:src/ecdsa}
+[testenv:py27_old_gmpy]
+basepython = python2.7
+
+[testenv:py27_old_gmpy2]
+basepython = python2.7
+
[testenv:py27_old_six]
basepython = python2.7