From 9d3fc1281d74380f8e9ce0c275432de6277ec86f Mon Sep 17 00:00:00 2001 From: Koala Yeung Date: Thu, 27 Apr 2017 04:32:23 +0800 Subject: [PATCH] travis: Add yarn and nodejs caching (#2504) Also cache node_module and yarn cache in Travis test process. Improves speed for Travis tests. --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 91454c9a20..90a33f51d7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,9 @@ language: ruby -cache: bundler +cache: + bundler: true + yarn: true + directories: + - node_modules dist: trusty sudo: false