Merge pull request #117 from msgpack/cython-cache

Use wheelhouse for cython
This commit is contained in:
INADA Naoki 2015-01-09 09:41:49 +09:00
commit f86a0442ec
2 changed files with 10 additions and 2 deletions

View file

@ -1,10 +1,17 @@
sudo: false
cache:
directories:
- wheelhouse
language: python
python:
- 2.7
install:
- pip install tox cython
- pip install wheel tox
- ls -la wheelhouse
- if [ ! -f wheelhouse/Cython-0.21.2-cp27-none-linux_x86_64.whl ] ; then pip wheel cython ; fi
- pip install wheelhouse/Cython-0.21.2-cp27-none-linux_x86_64.whl
- cython --cplus msgpack/_packer.pyx msgpack/_unpacker.pyx
script: tox

View file

@ -11,5 +11,6 @@ deps=
changedir=test
commands=
c: python -c 'from msgpack import _packer, _unpacker' && py.test
c: python -c 'from msgpack import _packer, _unpacker'
c: py.test
pure: py.test