Skip to content

Commit a67da69

Browse files
committed
ensure old versions of gmpy(2) work
1 parent b1568d4 commit a67da69

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.travis.yml

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ matrix:
2121
env: TOX_ENV=py26
2222
- python: 2.7
2323
env: TOX_ENV=py27
24+
- python: 2.7
25+
env: TOX_ENV=py27_old_gmpy
26+
- python: 2.7
27+
env: TOX_ENV=py27_old_gmpy2
2428
- python: 2.7
2529
env: TOX_ENV=py27_old_six
2630
- python: 2.7

tox.ini

+14
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,26 @@ deps =
2020
py27_old_six: six==1.9.0
2121
py27_old_six: pytest
2222
py27_old_six: hypothesis
23+
# those are the oldest versions of gmpy and gmpy2 on PyPI (i.e. oldest we can
24+
# actually test), older versions may work, but are not easy to test
25+
py27_old_gmpy: gmpy==1.15
26+
py27_old_gmpy: pytest
27+
py27_old_gmpy: hypothesis
28+
py27_old_gmpy2: gmpy2==2.0.1
29+
py27_old_gmpy2: pytest
30+
py27_old_gmpy2: hypothesis
2331
py: pytest
2432
py: hypothesis
2533
py{33}: wheel<0.30
2634
coverage
2735
commands = coverage run --branch -m pytest {posargs:src/ecdsa}
2836

37+
[testenv:py27_old_gmpy]
38+
basepython = python2.7
39+
40+
[testenv:py27_old_gmpy2]
41+
basepython = python2.7
42+
2943
[testenv:py27_old_six]
3044
basepython = python2.7
3145

0 commit comments

Comments
 (0)