mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-11-06 04:20:58 +00:00
Merge pull request #117 from msgpack/cython-cache
Use wheelhouse for cython
This commit is contained in:
commit
f86a0442ec
2 changed files with 10 additions and 2 deletions
|
|
@ -1,10 +1,17 @@
|
||||||
sudo: false
|
sudo: false
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- wheelhouse
|
||||||
|
|
||||||
language: python
|
language: python
|
||||||
python:
|
python:
|
||||||
- 2.7
|
- 2.7
|
||||||
|
|
||||||
install:
|
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
|
- cython --cplus msgpack/_packer.pyx msgpack/_unpacker.pyx
|
||||||
|
|
||||||
script: tox
|
script: tox
|
||||||
|
|
|
||||||
3
tox.ini
3
tox.ini
|
|
@ -11,5 +11,6 @@ deps=
|
||||||
|
|
||||||
changedir=test
|
changedir=test
|
||||||
commands=
|
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
|
pure: py.test
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue