1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
This commit is contained in:
Mike Perham 2019-04-18 09:43:29 -07:00
parent a07e5b1372
commit 5d429ae839

View file

@ -4,27 +4,22 @@ references:
run:
name: Run test suite
command: bundle exec rake
# Download and cache dependencies
restore: &restore
restore_cache:
keys:
- v1-dependencies-{{ checksum "Gemfile.lock" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
bundle: &bundle
run:
name: install dependencies
command: |
bundle install --jobs=4 --retry=3 --path vendor/bundle
save: &save
save_cache:
paths:
- ./vendor/bundle
key: v1-dependencies-{{ checksum "Gemfile.lock" }}
jobs:
"ruby-2.5":
docker:
@ -32,9 +27,9 @@ jobs:
- image: circleci/redis:4.0
steps:
- checkout
- restore
- bundle
- save
- <<: *restore
- <<: *bundle
- <<: *save
- <<: *unit
"ruby-2.6":
docker:
@ -42,9 +37,9 @@ jobs:
- image: circleci/redis:4.0
steps:
- checkout
- restore
- bundle
- save
- <<: *restore
- <<: *bundle
- <<: *save
- <<: *unit
"jruby":
docker:
@ -52,9 +47,9 @@ jobs:
- image: circleci/redis:4.0
steps:
- checkout
- restore
- bundle
- save
- <<: *restore
- <<: *bundle
- <<: *save
- <<: *unit
workflows: