8000 travis and appveyor update (#217) · wumingcp-ps/msgpack-python@3388e4a · GitHub
[go: up one dir, main page]

Skip to content

Commit 3388e4a

Browse files
authored
travis and appveyor update (msgpack#217)
travis: * stop using tox * Add Python 3.6 and 3.7-dev * Stop pypy3 (until PyPy3.5 is released) appveyor: * Drop Python 3.4 and add 3.6
1 parent b328f3e commit 3388e4a

File tree

3 files changed

+28
-16
lines changed

3 files changed

+28
-16
lines changed

.travis.yml

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
sudo: false
22
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"
712

813
branches:
914
only:
1015
- master
1116

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-
1717
matrix:
1818
include:
1919
- sudo: required
20+
language: c
2021
services:
2122
- docker
2223
env:
@@ -28,12 +29,23 @@ matrix:
2829
- docker pull $DOCKER_IMAGE
2930
script:
3031
- 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+
3138

3239
install:
3340
- pip install -U pip
34-
- pip install tox cython
41+
- pip install cython
3542
- cython --cplus msgpack/_packer.pyx msgpack/_unpacker.pyx
43+
- pip install -e .
3644

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
3850

3951
# vim: sw=2 ts=2

appveyor.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ environment:
88
# isn't covered by this document) at the time of writing.
99

1010
- PYTHON: "C:\\Python27"
11-
- PYTHON: "C:\\Python34"
12-
- PYTHON: "C:\\Python35"
1311
- PYTHON: "C:\\Python27-x64"
14-
- PYTHON: "C:\\Python34-x64"
15-
DISTUTILS_USE_SDK: "1"
12+
- PYTHON: "C:\\Python35"
1613
- PYTHON: "C:\\Python35-x64"
14+
- PYTHON: "C:\\Python36"
15+
- PYTHON: "C:\\Python36-x64"
1716

1817
install:
1918
# We need wheel installed to build wheels
2019
- "%PYTHON%\\python.exe -m pip install -U pip wheel pytest cython"
20+
- "%PYTHON%\\Scripts\\cython --cplus msgpack/_packer.pyx msgpack/_unpacker.pyx"
2121

2222
build: off
2323

docker/runtests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
set -e -x
33

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
55
PYBIN=/opt/python/$V/bin
66
$PYBIN/python setup.py install
77
rm -rf build/ # Avoid lib build by narrow Python is used by wide python

0 commit comments

Comments
 (0)
0