-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
25 lines (19 loc) · 841 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[tox]
# Testing on x86 (linux32 tox -r doesn't seem to do the trick),
# as well as something big-endian, would be nice.
envlist = py35,py34,py33,py32,pypy3
[testenv]
deps =
cffi
pytest
pytest-cov
passenv=HOME TERM PATH SHELL
# A workaround to prevent test discovery from finding the non-2to3 source.
# Even without 2to3, the pypy call above causes a build, and pytest
# can run into an import file mismatch between the build dir
# and the vcs dir.
# With PyPy, I'm not sure pip runs from the right interpreter.
# Re-run the install so as not to get root-owned files compiled live by CFFI.
# {envpython} setup.py install
commands =
{env:GETROOT} {envpython} -Werror -bb -Wignore:::cffi.verifier -Wignore:::_pytest.assertion.oldinterpret -m pytest --capture=no --cov={envsitepackagesdir}/bedup {envsitepackagesdir}/bedup