From e420b095608d532dacdd966c47458a54db232dd5 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Sun, 1 May 2016 20:03:59 +0000 Subject: [PATCH] Travis CI: Include `npm prune` in the `before_script` command. Caching of node modules was added in [37058]. `npm prune` removes extraneous packages so the cache contains only current modules. Props netweb. Fixes #36490. git-svn-id: https://develop.svn.wordpress.org/trunk@37340 602fd350-edb4-49c9-b593-d223f7449a82 --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index f8754e3bba..449da33b1b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -50,6 +50,7 @@ before_script: - npm install -g npm - npm install -g grunt-cli - npm install +- npm prune script: grunt $WP_TRAVISCI notifications: slack: