From f2a760d28c520e23a459f03c8daa17a98459a876 Mon Sep 17 00:00:00 2001 From: Kevin van Zonneveld Date: Thu, 11 Feb 2016 09:30:17 +0100 Subject: [PATCH] Cache node_modules & apt on Travis for faster builds --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 2239a031c..18e190d0f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,12 @@ addons: packages: - g++-4.8 +cache: + apt: true + directories: + - node_modules + - website/node_modules + script: - npm run build - npm run test