diff --git a/.travis.yml b/.travis.yml
index 1341b7c68b6f844ee7b85568577df1b8aa3addcb..308932f7161c9b65fa0867cb97f87a24aa5e6d3b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,6 +2,10 @@ dist: xenial
 language: node_js
 install: npm install && npm run build
 
+cache:
+  directories:
+    - node_modules
+
 jobs:
   include:
     - stage: unit tests