diff options
author | INADA Naoki <methane@users.noreply.github.com> | 2015-01-09 09:41:49 +0900 |
---|---|---|
committer | INADA Naoki <methane@users.noreply.github.com> | 2015-01-09 09:41:49 +0900 |
commit | f86a0442ec1eb68133646316ac82c2e7ce6dca74 (patch) | |
tree | 2ce673994a642286f2a5065e2991cc2a047c5a6d | |
parent | ed30acb934af41625a18ec6f8bdb604ec4b4ad35 (diff) | |
parent | b6055ce47ea40c5dfcac96b3ff82063a849e31ce (diff) | |
download | msgpack-python-f86a0442ec1eb68133646316ac82c2e7ce6dca74.tar.gz |
Merge pull request #117 from msgpack/cython-cache
Use wheelhouse for cython
-rw-r--r-- | .travis.yml | 9 | ||||
-rw-r--r-- | tox.ini | 3 |
2 files changed, 10 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 1bf6d4f..b9d19c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 @@ -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 |