forked from msgpack/msgpack-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
51 lines (44 loc) · 1010 Bytes
/
.travis.yml
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
sudo: false
language: python
cache: pip
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "3.7-dev"
branches:
only:
- master
matrix:
include:
- sudo: required
language: c
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: "pypy"
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