summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: c80bb379a2dfeb90251dcfd377a888e8b2ad8294 (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
53
54
55
56
57
58
59
dist: xenial
language: python
cache: pip

python:
  # Available Python (PyPy) can be listed by:
  #
  #   $ aws s3 ls s3://travis-python-archives/binaries/ubuntu/16.04/x86_64/
  - "2.7"
  - "3.4"
  - "3.5"
  - "3.6"
  - "3.7"
  - "3.8-dev"

matrix:
  include:
    - name: 32bit build
      sudo: required
      language: python
      services:
        - docker
      env:
        - DOCKER_IMAGE=quay.io/pypa/manylinux1_i686
      install:
        - pip install -U pip
        - pip install -r requirements.txt
        - make cython
        - docker pull $DOCKER_IMAGE
      script:
        - docker run --rm -v `pwd`:/io -w /io $DOCKER_IMAGE /io/docker/runtests.sh
    - name: "pypy2.7"
      python: "pypy2.7-7.1.1"
      install:
        - pip install -e .
      script:
        - py.test -v test
    - name: "pypy3"
      python: "pypy3.6-7.1.1"
      install:
        - pip install -e .
      script:
        - pytest -v test


install:
  - pip install -U pip
  - pip install -U pytest
  - pip install -r requirements.txt
  - 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