mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-06 09:50:01 +00:00
Merge pull request #89 from msgpack/better-travis
travis: Simplify .travis.yml and add PyPy env.
This commit is contained in:
commit
96d7d0edc6
3 changed files with 3 additions and 10 deletions
10
.travis.yml
10
.travis.yml
|
|
@ -2,14 +2,8 @@ language: python
|
|||
python:
|
||||
- 2.7
|
||||
|
||||
env:
|
||||
- PIP_USE_MIRRORS=true
|
||||
|
||||
install:
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install -q python3.3-dev
|
||||
- pip install --use-mirrors tox cython
|
||||
- cython --cplus msgpack/_packer.pyx
|
||||
- cython --cplus msgpack/_unpacker.pyx
|
||||
- pip install tox cython
|
||||
- cython --cplus msgpack/_packer.pyx msgpack/_unpacker.pyx
|
||||
|
||||
script: "tox && MSGPACK_PUREPYTHON=x tox"
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ from io import BytesIO
|
|||
def check(data, use_list=False):
|
||||
re = unpackb(packb(data), use_list=use_list)
|
||||
assert re == data
|
||||
assert type(re) == type(data)
|
||||
|
||||
def testPack():
|
||||
test_data = [
|
||||
|
|
|
|||
2
tox.ini
2
tox.ini
|
|
@ -1,5 +1,5 @@
|
|||
[tox]
|
||||
envlist = py26,py27,py32,py33
|
||||
envlist = py26,py27,py32,py33,pypy
|
||||
|
||||
[testenv]
|
||||
deps=
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue