]> cat aescling's git repositories - mastodon.git/commitdiff
travis: Add yarn and nodejs caching (#2504)
authorKoala Yeung <koalay@gmail.com>
Wed, 26 Apr 2017 20:32:23 +0000 (04:32 +0800)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 26 Apr 2017 20:32:23 +0000 (22:32 +0200)
Also cache node_module and yarn cache in Travis test process.
Improves speed for Travis tests.

.travis.yml

index 91454c9a203ee2fd0ca9a7eb23059d20a80cc847..90a33f51d712ee0fd724fc057984e9bd34d13b8f 100644 (file)
@@ -1,5 +1,9 @@
 language: ruby
-cache: bundler
+cache:
+  bundler: true
+  yarn: true
+  directories:
+    - node_modules
 dist: trusty
 sudo: false