about summary refs log tree commit diff
path: root/.travis.yml
diff options
context:
space:
mode:
authorKoala Yeung <koalay@gmail.com>2017-04-27 04:32:23 +0800
committerEugen Rochko <eugen@zeonfederated.com>2017-04-26 22:32:23 +0200
commit9d3fc1281d74380f8e9ce0c275432de6277ec86f (patch)
tree88b622c94e5f54de4f832378bb17aff7bfbd9cde /.travis.yml
parent8857cabca42fc21d3063862c9954e079e7efd275 (diff)
travis: Add yarn and nodejs caching (#2504)
Also cache node_module and yarn cache in Travis test process.
Improves speed for Travis tests.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 91454c9a2..90a33f51d 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