summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: b4396cb7f6a0d702b2771da0b30e0323885cf294 (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
sudo: false
language: python
python: 3.5
cache:
  directories:
    - $HOME/.cache/pip

branches:
  only:
    - master

env:
  - TOXENV=py27-c,py33-c,py34-c,py35-c
  - TOXENV=py27-pure,py33-pure,py34-pure,py35-pure
  - TOXENV=pypy-pure,pypy3-pure

matrix:
  include:
    - sudo: required
      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

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

script: tox

# vim: sw=2 ts=2