travis and appveyor update (#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
This commit is contained in:
parent
b328f3ecff
commit
3388e4a6ee
34
.travis.yml
34
.travis.yml
|
@ -1,22 +1,23 @@
|
|||
sudo: false
|
||||
language: python
|
||||
python: 3.5
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.cache/pip
|
||||
cache: pip
|
||||
|
||||
python:
|
||||
- "2.7"
|
||||
- "3.3"
|
||||
- "3.4"
|
||||
- "3.5"
|
||||
- "3.6"
|
||||
- "3.7-dev"
|
||||
|
||||
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
|
||||
language: c
|
||||
services:
|
||||
- docker
|
||||
env:
|
||||
|
@ -28,12 +29,23 @@ matrix:
|
|||
- 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 tox cython
|
||||
- pip install cython
|
||||
- cython --cplus msgpack/_packer.pyx msgpack/_unpacker.pyx
|
||||
- pip install -e .
|
||||
|
||||
script: tox
|
||||
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
|
||||
|
|
|
@ -8,16 +8,16 @@ environment:
|
|||
# isn't covered by this document) at the time of writing.
|
||||
|
||||
- PYTHON: "C:\\Python27"
|
||||
- PYTHON: "C:\\Python34"
|
||||
- PYTHON: "C:\\Python35"
|
||||
- PYTHON: "C:\\Python27-x64"
|
||||
- PYTHON: "C:\\Python34-x64"
|
||||
DISTUTILS_USE_SDK: "1"
|
||||
- PYTHON: "C:\\Python35"
|
||||
- PYTHON: "C:\\Python35-x64"
|
||||
- PYTHON: "C:\\Python36"
|
||||
- PYTHON: "C:\\Python36-x64"
|
||||
|
||||
install:
|
||||
# We need wheel installed to build wheels
|
||||
- "%PYTHON%\\python.exe -m pip install -U pip wheel pytest cython"
|
||||
- "%PYTHON%\\Scripts\\cython --cplus msgpack/_packer.pyx msgpack/_unpacker.pyx"
|
||||
|
||||
build: off
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
set -e -x
|
||||
|
||||
for V in cp35-cp35m cp34-cp34m cp27-cp27m cp27-cp27mu; do
|
||||
for V in cp36-cp36m cp35-cp35m cp34-cp34m cp27-cp27m cp27-cp27mu; do
|
||||
PYBIN=/opt/python/$V/bin
|
||||
$PYBIN/python setup.py install
|
||||
rm -rf build/ # Avoid lib build by narrow Python is used by wide python
|
||||
|
|
Loading…
Reference in New Issue