mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-11-01 01:50:54 +00:00
* travis: testing matrix.include feature to use docker * Add test script for 32bit * Fix OverflowError in 32bit Environment
14 lines
496 B
Bash
Executable file
14 lines
496 B
Bash
Executable file
#!/bin/bash
|
|
set -e -x
|
|
|
|
for V in cp35-cp35m cp34-cp34m cp27-cp27m cp27-cp27mu; do
|
|
PYBIN=/opt/python/$V/bin
|
|
$PYBIN/python setup.py install
|
|
rm -rf build/ # Avoid lib build by narrow Python is used by wide python
|
|
$PYBIN/pip install pytest
|
|
pushd test # prevent importing msgpack package in current directory.
|
|
$PYBIN/python -c 'import sys; print(hex(sys.maxsize))'
|
|
$PYBIN/python -c 'from msgpack import _packer, _unpacker'
|
|
$PYBIN/py.test -v
|
|
popd
|
|
done
|