summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: fd6125d121d5355260233c1c448e738112dfb462 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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
        - cython --cplus msgpack/_packer.pyx msgpack/_unpacker.pyx
        - 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:
        - py.test -v test


install:
  - pip install -U pip
  - pip install cython
  - cython --cplus msgpack/_packer.pyx msgpack/_unpacker.pyx
  - pip install -e .

script:
  - python -c 'import sys; print(hex(sys.maxsize))'
  - python -c 'from msgpack import _packer, _unpacker'
  - py.test -v test
  - MSGPACK_PUREPYTHON=x py.test -v test

# vim: sw=2 ts=2