From 5bf161a9923aa034bd51d6327b444b4d1e8cc12d Mon Sep 17 00:00:00 2001 From: Colby Swandale Date: Fri, 5 Apr 2019 23:35:16 +1100 Subject: set rubocop to cache into `tmp/rubocop` and have travis cache the folder --- .rubocop.yml | 2 ++ .travis.yml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 8fd8c2c588..586ec9e319 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -5,6 +5,8 @@ AllCops: - tmp/**/* - lib/bundler/vendor/**/* DisplayCopNames: true + CacheRootDirectory: tmp/rubocop + MaxFilesInCache: 5000 # Bundler diff --git a/.travis.yml b/.travis.yml index 673a6ad7b5..efd4d2569a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,10 @@ branches: - /.+-dev$/ - /.+-stable$/ +cache: + directories: + - tmp/rubocop + notifications: slack: on_success: change -- cgit v1.2.1