summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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