From 97d7eb7155da913fcbd6f8a11b0ed13a2b8275f4 Mon Sep 17 00:00:00 2001 From: Liran Tal Date: Wed, 16 Sep 2015 00:19:02 +0300 Subject: [PATCH] adding caching for packages and npm modules across builds. Also setting sudo to false as it's not used for anything during the build --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index a157e5f8aa..2b79696091 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ language: node_js +sudo: false node_js: - 0.10 - 0.12 @@ -24,3 +25,8 @@ notifications: on_success: change # options: [always|never|change] default: always on_failure: always # options: [always|never|change] default: always on_start: never # options: [always|never|change] default: always +cache: + apt: true + directories: + - node_modules/ + - public/lib/