Skip to content

Commit

Permalink
ensure old versions of gmpy(2) work
Browse files Browse the repository at this point in the history
  • Loading branch information
tomato42 committed Dec 2, 2019
1 parent a5386bb commit d884156
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ matrix:
env: TOX_ENV=py26
- python: 2.7
env: TOX_ENV=py27
- python: 2.7
env: TOX_ENV=py27_old_gmpy
- python: 2.7
env: TOX_ENV=py27_old_gmpy2
- python: 2.7
env: TOX_ENV=py27_old_six
- python: 2.7
Expand Down
14 changes: 14 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d884156

Please sign in to comment.