msgpack-python/.travis.yml
INADA Naoki d782464c91
Refactor Cython code (#328)
_msgpack -> _cmsgpack
2018-11-14 16:35:37 +09:00

52 lines
998 B
YAML

dist: xenial
language: python
cache: pip
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "nightly"
matrix:
include:
- sudo: required
language: python
services:
- docker
env:
- DOCKER_IMAGE=quay.io/pypa/manylinux1_i686
install:
- pip install -U pip
- pip install cython
- make cython
- docker pull $DOCKER_IMAGE
script:
- docker run --rm -v `pwd`:/io -w /io $DOCKER_IMAGE /io/docker/runtests.sh
- python: "pypy2.7-5.10.0"
install:
- pip install -e .
script:
- py.test -v test
- python: "pypy3.5"
install:
- pip install -e .
script:
- pytest -v test
install:
- pip install -U pip
- pip install cython
- make cython
- pip install -e .
script:
- python -c 'import sys; print(hex(sys.maxsize))'
- python -c 'from msgpack import _cmsgpack'
- pytest -v test
- MSGPACK_PUREPYTHON=x pytest -v test
# vim: sw=2 ts=2