mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-06 09:50:01 +00:00
Check extension module was compiled.
This commit is contained in:
parent
868d149efc
commit
c25c8d7246
2 changed files with 9 additions and 3 deletions
|
|
@ -7,4 +7,4 @@ install:
|
|||
- pip install tox cython
|
||||
- cython --cplus msgpack/_packer.pyx msgpack/_unpacker.pyx
|
||||
|
||||
script: "tox && MSGPACK_PUREPYTHON=x tox"
|
||||
script: tox
|
||||
|
|
|
|||
10
tox.ini
10
tox.ini
|
|
@ -1,8 +1,14 @@
|
|||
[tox]
|
||||
envlist = py26,py27,py32,py33,py34,pypy,pypy3
|
||||
envlist = {py26,py27,py32,py33,py34}-{c,pure},{pypy,pypy3}-pure
|
||||
|
||||
[variants:pure]
|
||||
setenv=
|
||||
MSGPACK_PUREPYTHON=x
|
||||
|
||||
[testenv]
|
||||
deps=
|
||||
pytest
|
||||
|
||||
commands=py.test test
|
||||
commands=
|
||||
c: python -c 'from msgpack import _packer, _unpacker'
|
||||
pure: py.test test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue