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