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
|
sudo: false
|
||||||
language: python
|
language: python
|
||||||
python: 3.5
|
cache: pip
|
||||||
cache:
|
|
||||||
directories:
|
python:
|
||||||
- $HOME/.cache/pip
|
- "2.7"
|
||||||
|
- "3.3"
|
||||||
|
- "3.4"
|
||||||
|
- "3.5"
|
||||||
|
- "3.6"
|
||||||
|
- "3.7-dev"
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- master
|
- 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:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- sudo: required
|
- sudo: required
|
||||||
|
language: c
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
env:
|
env:
|
||||||
|
@ -28,12 +29,23 @@ matrix:
|
||||||
- docker pull $DOCKER_IMAGE
|
- docker pull $DOCKER_IMAGE
|
||||||
script:
|
script:
|
||||||
- docker run --rm -v `pwd`:/io -w /io $DOCKER_IMAGE /io/docker/runtests.sh
|
- 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:
|
install:
|
||||||
- pip install -U pip
|
- pip install -U pip
|
||||||
- pip install tox cython
|
- pip install cython
|
||||||
- cython --cplus msgpack/_packer.pyx msgpack/_unpacker.pyx
|
- 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
|
# vim: sw=2 ts=2
|
||||||
|
|
|
@ -8,16 +8,16 @@ environment:
|
||||||
# isn't covered by this document) at the time of writing.
|
# isn't covered by this document) at the time of writing.
|
||||||
|
|
||||||
- PYTHON: "C:\\Python27"
|
- PYTHON: "C:\\Python27"
|
||||||
- PYTHON: "C:\\Python34"
|
|
||||||
- PYTHON: "C:\\Python35"
|
|
||||||
- PYTHON: "C:\\Python27-x64"
|
- PYTHON: "C:\\Python27-x64"
|
||||||
- PYTHON: "C:\\Python34-x64"
|
- PYTHON: "C:\\Python35"
|
||||||
DISTUTILS_USE_SDK: "1"
|
|
||||||
- PYTHON: "C:\\Python35-x64"
|
- PYTHON: "C:\\Python35-x64"
|
||||||
|
- PYTHON: "C:\\Python36"
|
||||||
|
- PYTHON: "C:\\Python36-x64"
|
||||||
|
|
||||||
install:
|
install:
|
||||||
# We need wheel installed to build wheels
|
# We need wheel installed to build wheels
|
||||||
- "%PYTHON%\\python.exe -m pip install -U pip wheel pytest cython"
|
- "%PYTHON%\\python.exe -m pip install -U pip wheel pytest cython"
|
||||||
|
- "%PYTHON%\\Scripts\\cython --cplus msgpack/_packer.pyx msgpack/_unpacker.pyx"
|
||||||
|
|
||||||
build: off
|
build: off
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e -x
|
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=/opt/python/$V/bin
|
||||||
$PYBIN/python setup.py install
|
$PYBIN/python setup.py install
|
||||||
rm -rf build/ # Avoid lib build by narrow Python is used by wide python
|
rm -rf build/ # Avoid lib build by narrow Python is used by wide python
|
||||||
|
|
Loading…
Reference in New Issue