mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-10-26 07:04:10 +00:00
15 lines
496 B
Bash
15 lines
496 B
Bash
|
|
#!/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
|