summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINADA Naoki <methane@users.noreply.github.com>2015-01-09 09:41:49 +0900
committerINADA Naoki <methane@users.noreply.github.com>2015-01-09 09:41:49 +0900
commitf86a0442ec1eb68133646316ac82c2e7ce6dca74 (patch)
tree2ce673994a642286f2a5065e2991cc2a047c5a6d
parented30acb934af41625a18ec6f8bdb604ec4b4ad35 (diff)
parentb6055ce47ea40c5dfcac96b3ff82063a849e31ce (diff)
downloadmsgpack-python-f86a0442ec1eb68133646316ac82c2e7ce6dca74.tar.gz
Merge pull request #117 from msgpack/cython-cache
Use wheelhouse for cython
-rw-r--r--.travis.yml9
-rw-r--r--tox.ini3
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
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