mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 02:09:59 +00:00
This change causes Tox to run the project's setup.py in a virtualenv (default path is .tox/.package). The required version of Cython is installed, rather than whatever version is installed system wide.
44 lines
730 B
INI
44 lines
730 B
INI
[tox]
|
|
envlist =
|
|
py27-pure,
|
|
{py35,py36,py37,py38}-{c,pure},
|
|
{pypy,pypy3}-pure,
|
|
py27-x86,
|
|
py34-x86,
|
|
isolated_build = true
|
|
|
|
[variants:pure]
|
|
setenv=
|
|
MSGPACK_PUREPYTHON=x
|
|
|
|
[testenv]
|
|
deps=
|
|
pytest
|
|
|
|
changedir=test
|
|
commands=
|
|
c,x86: python -c 'from msgpack import _cmsgpack'
|
|
c,x86: py.test
|
|
pure: py.test
|
|
|
|
[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
|