From 93bea01eaee9e0f89f7ee6fa749bc14efca7ffd0 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Sat, 11 Mar 2017 17:18:14 +0000 Subject: [PATCH] Build/Test Tools: Allow Travis CI to cache the node_modules directory. Merge of [37058] and [36490] to the 4.3 branch. See #36291, #36490. git-svn-id: https://develop.svn.wordpress.org/branches/4.3@40281 602fd350-edb4-49c9-b593-d223f7449a82 --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 84cd148900..25c2daa8de 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,8 @@ sudo: false language: php +cache: + directories: + - node_modules matrix: include: - php: 5.5 @@ -73,6 +76,7 @@ before_script: - nvm install 4.7.2 - npm install -g grunt-cli - npm install +- npm prune - php --version - | # Debug PHP extensions, but not on HHVM because the command hangs indefinitely: