Skip to content

Commit

Permalink
Disable cache of bundle install
Browse files Browse the repository at this point in the history
  • Loading branch information
sue445 committed Apr 21, 2020
1 parent 2069fe9 commit e9556c4
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ executors:
CC_TEST_REPORTER_ID: d91e7c9665019f1574eb4c5a3de1547c80bc3062e3c297282f106501a3c5c694
working_directory: ~/app

commands:
bundle_install:
steps:
- run: bundle config --local path vendor/bundle
- run: bundle install --jobs=4 --retry=3

jobs:
rspec:
parameters:
Expand All @@ -40,11 +46,7 @@ jobs:
- run: ruby --version
- run: bundle --version
- run: gem --version
- ruby-orbs/bundle-install:
cache_key_prefix: "v7-rspec"
with_gemfile_lock: false
gemspec_name: "itest5ch"
update_always: true
- bundle_install
- codeclimate/with-cc-test-reporter:
after_build_args: "--coverage-input-type simplecov"
steps:
Expand All @@ -56,6 +58,7 @@ jobs:

steps:
- checkout
- bundle_install
- ruby-orbs/bundle-install:
cache_key_prefix: "v7-rubocop"
with_gemfile_lock: false
Expand Down

0 comments on commit e9556c4

Please sign in to comment.