summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorINADA Naoki <songofacandy@gmail.com>2015-01-09 03:41:52 +0900
committerINADA Naoki <songofacandy@gmail.com>2015-01-09 04:07:47 +0900
commitc25c8d724670ceb38c0c7a75274ccfe1be18ec02 (patch)
tree8064f480a1b99a8af88452d07331c2628bbab1cb /tox.ini
parent868d149efc79ff4f2e992a0ea052b6b79a0af460 (diff)
downloadmsgpack-python-c25c8d724670ceb38c0c7a75274ccfe1be18ec02.tar.gz
Check extension module was compiled.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini10
1 files changed, 8 insertions, 2 deletions
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