From 066743b8da28460ea6d7444aedf358025b4414fe Mon Sep 17 00:00:00 2001 From: Paul Irish Date: Wed, 6 Mar 2019 11:59:12 -0800 Subject: [PATCH] misc: clean node_modules/.cache before travis builds its cache (#7388) --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index b42b9cebf9..ad9440beff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -48,6 +48,8 @@ before_cache: # the `yarn compile-devtools` task adds these to node_modules, which slows down caching - rm -rf ./node_modules/temp-devtoolsfrontend/ - rm -rf ./node_modules/temp-devtoolsprotocol/ + # nyc, jest and other projects store files in here. They mess up the travis build cache. + - rm -rf ./node_modules/.cache/ after_success: - yarn coveralls - yarn codecov