diff --git a/.travis.yml b/.travis.yml
index 4270bae5305d71c03fbc6c87ed30067b6b77195f..594b38acd6e5b3c9d8524fc0b7af0e191b2fd412 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,7 +5,10 @@ python:
  - "3.4"
  - "3.5"
  - "pypy"
-cache: pip
+cache:
+  directories:
+    - $HOME/build/smok-serwis/coolamqp/.eggs
+    - $HOME/.cache
 script:
  - python -m coolamqp.framing.compilation.compile_definitions
  - python setup.py nosetests