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
1 changed files with 5 additions and 1 deletions

View File

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