travis: Add yarn and nodejs caching (#2504)

Also cache node_module and yarn cache in Travis test process.
Improves speed for Travis tests.
This commit is contained in:
Koala Yeung 2017-04-27 04:32:23 +08:00 committed by Eugen Rochko
parent 8857cabca4
commit 9d3fc1281d

View File

@ -1,5 +1,9 @@
language: ruby
cache: bundler
cache:
bundler: true
yarn: true
directories:
- node_modules
dist: trusty
sudo: false