msgpack-python/tox.ini
Andrey Bienkowski 4ace82f108
Fix tox.ini (#465)
There is no such thing as [variants] in the tox syntax. This resulted
in MSGPACK_PUREPYTHON being unset in the "pure" test environments
2021-02-26 21:08:06 +09:00

42 lines
719 B
INI

[tox]
envlist =
py27-pure,
{py35,py36,py37,py38}-{c,pure},
{pypy,pypy3}-pure,
py27-x86,
py34-x86,
isolated_build = true
[testenv]
deps=
pytest
changedir=test
commands=
c,x86: python -c 'from msgpack import _cmsgpack'
c,x86: py.test
pure: py.test
setenv=
pure: MSGPACK_PUREPYTHON=x
[testenv:py27-x86]
basepython=python2.7-x86
deps=
pytest
changedir=test
commands=
python -c 'import sys; print(hex(sys.maxsize))'
python -c 'from msgpack import _cmsgpack'
py.test
[testenv:py34-x86]
basepython=python3.4-x86
deps=
pytest
changedir=test
commands=
python -c 'import sys; print(hex(sys.maxsize))'
python -c 'from msgpack import _cmsgpack'
py.test