Merge pull request #89 from msgpack/better-travis
travis: Simplify .travis.yml and add PyPy env.
This commit is contained in:
		
							
								
								
									
										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 = [ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 INADA Naoki
					INADA Naoki