summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorINADA Naoki <songofacandy@gmail.com>2015-01-25 02:24:53 +0900
committerINADA Naoki <songofacandy@gmail.com>2015-01-25 02:35:57 +0900
commit2985f4d8651982b07e2cfa7037e7a8c3530a127b (patch)
tree8069223d23b98bfac8af3563e3204e8306fec1b0 /tox.ini
parent75ce78dd1512460712f2600ffd927bedeeb02fbc (diff)
downloadmsgpack-python-2985f4d8651982b07e2cfa7037e7a8c3530a127b.tar.gz
Fix error when use unicode_literal in Python 2
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini29
1 files changed, 26 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 7971dc7..15feb51 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = {py26,py27,py32,py33,py34}-{c,pure},{pypy,pypy3}-pure
+envlist = {py26,py27,py32,py33,py34}-{c,pure},{pypy,pypy3}-pure,py27-x86,py34-x86
[variants:pure]
setenv=
@@ -11,6 +11,29 @@ deps=
changedir=test
commands=
- c: python -c 'from msgpack import _packer, _unpacker'
- c: py.test
+ c,x86: python -c 'from msgpack import _packer, _unpacker'
+ 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 _packer, _unpacker'
+ 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 _packer, _unpacker'
+ py.test
+