Files
deb-msgpack-python/docker/runtests.sh
INADA Naoki 3388e4a6ee travis and appveyor update (#217)
travis:

* stop using tox
* Add Python 3.6 and 3.7-dev
* Stop pypy3 (until PyPy3.5 is released)

appveyor:

* Drop Python 3.4 and add 3.6
2017-01-13 21:46:31 +09:00

15 lines
507 B
Bash
Executable File

#!/bin/bash
set -e -x
for V in cp36-cp36m 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