From ca9768771dc63d428c3a33c046b403119e664106 Mon Sep 17 00:00:00 2001 From: INADA Naoki Date: Fri, 9 Jan 2015 04:29:06 +0900 Subject: [PATCH 1/2] Use wheelhouse for cython --- .travis.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 From b6055ce47ea40c5dfcac96b3ff82063a849e31ce Mon Sep 17 00:00:00 2001 From: INADA Naoki Date: Fri, 9 Jan 2015 09:35:31 +0900 Subject: [PATCH 2/2] Fix tox.ini --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 8f10b15..7971dc7 100644 --- a/tox.ini +++ b/tox.ini @@ -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