diff --git a/.travis.yml b/.travis.yml index a833fdf3d6..a92abde5dc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,10 @@ language: node_js node_js: - "8" - "6" +cache: + yarn: true + directories: + - node_modules install: - yarn install - yarn run build diff --git a/appveyor.yml b/appveyor.yml index 5c62e6be35..f001912793 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -4,6 +4,10 @@ environment: - nodejs_version: "6" - nodejs_version: "8" +cache: + - "%LOCALAPPDATA%\\Yarn" + - node_modules + # Install scripts. (runs after repo cloning) install: # Get the latest stable version of Node.js or io.js