Merge pull request #89 from msgpack/better-travis

travis: Simplify .travis.yml and add PyPy env.
This commit is contained in:
INADA Naoki
2014-02-15 22:03:38 +09:00
3 changed files with 3 additions and 10 deletions

View File

@@ -2,14 +2,8 @@ language: python
python: python:
- 2.7 - 2.7
env:
- PIP_USE_MIRRORS=true
install: install:
- sudo apt-get update -qq - pip install tox cython
- sudo apt-get install -q python3.3-dev - cython --cplus msgpack/_packer.pyx msgpack/_unpacker.pyx
- pip install --use-mirrors tox cython
- cython --cplus msgpack/_packer.pyx
- cython --cplus msgpack/_unpacker.pyx
script: "tox && MSGPACK_PUREPYTHON=x tox" script: "tox && MSGPACK_PUREPYTHON=x tox"

View File

@@ -12,7 +12,6 @@ from io import BytesIO
def check(data, use_list=False): def check(data, use_list=False):
re = unpackb(packb(data), use_list=use_list) re = unpackb(packb(data), use_list=use_list)
assert re == data assert re == data
assert type(re) == type(data)
def testPack(): def testPack():
test_data = [ test_data = [

View File

@@ -1,5 +1,5 @@
[tox] [tox]
envlist = py26,py27,py32,py33 envlist = py26,py27,py32,py33,pypy
[testenv] [testenv]
deps= deps=