File tree 3 files changed +28
-16
lines changed 3 files changed +28
-16
lines changed Original file line number Diff line number Diff line change 1
1
sudo : false
2
2
language : python
3
- python : 3.5
4
- cache :
5
- directories :
6
- - $HOME/.cache/pip
3
+ cache : pip
4
+
5
+ python :
6
+ - " 2.7"
7
+ - " 3.3"
8
+ - " 3.4"
9
+ - " 3.5"
10
+ - " 3.6"
11
+ - " 3.7-dev"
7
12
8
13
branches :
9
14
only :
10
15
- master
11
16
12
- env :
13
- - TOXENV=py27-c,py33-c,py34-c,py35-c
14
- - TOXENV=py27-pure,py33-pure,py34-pure,py35-pure
15
- - TOXENV=pypy-pure,pypy3-pure
16
-
17
17
matrix :
18
18
include :
19
19
- sudo : required
20
+ language : c
20
21
services :
21
22
- docker
22
23
env :
@@ -28,12 +29,23 @@ matrix:
28
29
- docker pull $DOCKER_IMAGE
29
30
script :
30
31
- docker run --rm -v `pwd`:/io -w /io $DOCKER_IMAGE /io/docker/runtests.sh
32
+ - python : " pypy"
33
+ install :
34
+ - pip install -e .
35
+ script :
36
+ - py.test -v test
37
+
31
38
32
39
install :
33
40
- pip install -U pip
34
- - pip install tox cython
41
+ - pip install cython
35
42
- cython --cplus msgpack/_packer.pyx msgpack/_unpacker.pyx
43
+ - pip install -e .
36
44
37
- script : tox
45
+ script :
46
+ - python -c 'import sys; print(hex(sys.maxsize))'
47
+ - python -c 'from msgpack import _packer, _unpacker'
48
+ - py.test -v test
49
+ - MSGPACK_PUREPYTHON=x py.test -v test
38
50
39
51
# vim: sw=2 ts=2
Original file line number Diff line number Diff line change @@ -8,16 +8,16 @@ environment:
8
8
# isn't covered by this document) at the time of writing.
9
9
10
10
- PYTHON : " C:\\ Python27"
11
- - PYTHON : " C:\\ Python34"
12
- - PYTHON : " C:\\ Python35"
13
11
- PYTHON : " C:\\ Python27-x64"
14
- - PYTHON : " C:\\ Python34-x64"
15
- DISTUTILS_USE_SDK : " 1"
12
+ - PYTHON : " C:\\ Python35"
16
13
- PYTHON : " C:\\ Python35-x64"
14
+ - PYTHON : " C:\\ Python36"
15
+ - PYTHON : " C:\\ Python36-x64"
17
16
18
17
install :
19
18
# We need wheel installed to build wheels
20
19
- " %PYTHON%\\ python.exe -m pip install -U pip wheel pytest cython"
20
+ - " %PYTHON%\\ Scripts\\ cython --cplus msgpack/_packer.pyx msgpack/_unpacker.pyx"
21
21
22
22
build : off
23
23
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -e -x
3
3
4
- for V in cp35-cp35m cp34-cp34m cp27-cp27m cp27-cp27mu; do
4
+ for V in cp36-cp36m cp35-cp35m cp34-cp34m cp27-cp27m cp27-cp27mu; do
5
5
PYBIN=/opt/python/$V /bin
6
6
$PYBIN /python setup.py install
7
7
rm -rf build/ # Avoid lib build by narrow Python is used by wide python
You can’t perform that action at this time.
0 commit comments