Skip to content

Commit c25c8d7

Browse files
committed
Check extension module was compiled.
1 parent 868d149 commit c25c8d7

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ install:
77
- pip install tox cython
88
- cython --cplus msgpack/_packer.pyx msgpack/_unpacker.pyx
99

10-
script: "tox && MSGPACK_PUREPYTHON=x tox"
10+
script: tox

tox.ini

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
[tox]
2-
envlist = py26,py27,py32,py33,py34,pypy,pypy3
2+
envlist = {py26,py27,py32,py33,py34}-{c,pure},{pypy,pypy3}-pure
3+
4+
[variants:pure]
5+
setenv=
6+
MSGPACK_PUREPYTHON=x
37

48
[testenv]
59
deps=
610
pytest
711

8-
commands=py.test test
12+
commands=
13+
c: python -c 'from msgpack import _packer, _unpacker'
14+
pure: py.test test

0 commit comments

Comments
 (0)