Skip to content

Commit 5b8b265

Browse files
tiranencukou
authored andcommitted
Run Travis tests with PyPy
To my surprose, python-ldap works just fine with PyPy2. For Python 3, PyPy-5.9 (Python 3.5) is required. Fedora's and Ubuntu's PyPy 5.5 is too old (Python 3.3). #122 Signed-off-by: Christian Heimes <cheimes@redhat.com>
1 parent f94619f commit 5b8b265

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ matrix:
3434
env:
3535
- TOXENV=py36
3636
- WITH_GCOV=1
37+
- python: pypy
38+
env:
39+
- TOXENV=pypy
3740
- python: 3.7-dev
3841
env:
3942
- TOXENV=py37
@@ -52,6 +55,8 @@ matrix:
5255
- env:
5356
- TOXENV=py37
5457
- WITH_GCOV=1
58+
- env:
59+
- TOXENV=pypy
5560

5661
env:
5762
global:

tox.ini

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,17 @@ passenv = {[testenv]passenv}
4646
setenv = {[testenv:py2-nosasltls]setenv}
4747
commands = {[testenv:py2-nosasltls]commands}
4848

49+
[testenv:pypy]
50+
# PyPy doesn't have working setup.py test
51+
deps = pytest
52+
commands = {envpython} -m pytest
53+
54+
[testenv:pypy35]
55+
# PyPy-5.9.0
56+
basepython = pypy3.5
57+
deps = {[testenv:pypy]deps}
58+
commands = {[testenv:pypy]commands}
59+
4960
[testenv:coverage-report]
5061
deps = coverage
5162
skip_install = true

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy