From c25c8d724670ceb38c0c7a75274ccfe1be18ec02 Mon Sep 17 00:00:00 2001 From: INADA Naoki Date: Fri, 9 Jan 2015 03:41:52 +0900 Subject: Check extension module was compiled. --- tox.ini | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 892684d..96b9fcb 100644 --- a/tox.ini +++ b/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 -- cgit v1.2.1