Skip to content

Commit f86a044

Browse files
committed
Merge pull request #117 from msgpack/cython-cache
Use wheelhouse for cython
2 parents ed30acb + b6055ce commit f86a044

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.travis.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
sudo: false
2+
cache:
3+
directories:
4+
- wheelhouse
5+
26
language: python
37
python:
48
- 2.7
59

610
install:
7-
- pip install tox cython
11+
- pip install wheel tox
12+
- ls -la wheelhouse
13+
- if [ ! -f wheelhouse/Cython-0.21.2-cp27-none-linux_x86_64.whl ] ; then pip wheel cython ; fi
14+
- pip install wheelhouse/Cython-0.21.2-cp27-none-linux_x86_64.whl
815
- cython --cplus msgpack/_packer.pyx msgpack/_unpacker.pyx
916

1017
script: tox

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ deps=
1111

1212
changedir=test
1313
commands=
14-
c: python -c 'from msgpack import _packer, _unpacker' && py.test
14+
c: python -c 'from msgpack import _packer, _unpacker'
15+
c: py.test
1516
pure: py.test

0 commit comments

Comments
 (0)