mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
cifix
This commit is contained in:
parent
a07e5b1372
commit
5d429ae839
1 changed files with 9 additions and 14 deletions
|
@ -4,27 +4,22 @@ references:
|
||||||
run:
|
run:
|
||||||
name: Run test suite
|
name: Run test suite
|
||||||
command: bundle exec rake
|
command: bundle exec rake
|
||||||
|
|
||||||
# Download and cache dependencies
|
|
||||||
restore: &restore
|
restore: &restore
|
||||||
restore_cache:
|
restore_cache:
|
||||||
keys:
|
keys:
|
||||||
- v1-dependencies-{{ checksum "Gemfile.lock" }}
|
- v1-dependencies-{{ checksum "Gemfile.lock" }}
|
||||||
# fallback to using the latest cache if no exact match is found
|
# fallback to using the latest cache if no exact match is found
|
||||||
- v1-dependencies-
|
- v1-dependencies-
|
||||||
|
|
||||||
bundle: &bundle
|
bundle: &bundle
|
||||||
run:
|
run:
|
||||||
name: install dependencies
|
name: install dependencies
|
||||||
command: |
|
command: |
|
||||||
bundle install --jobs=4 --retry=3 --path vendor/bundle
|
bundle install --jobs=4 --retry=3 --path vendor/bundle
|
||||||
|
|
||||||
save: &save
|
save: &save
|
||||||
save_cache:
|
save_cache:
|
||||||
paths:
|
paths:
|
||||||
- ./vendor/bundle
|
- ./vendor/bundle
|
||||||
key: v1-dependencies-{{ checksum "Gemfile.lock" }}
|
key: v1-dependencies-{{ checksum "Gemfile.lock" }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
"ruby-2.5":
|
"ruby-2.5":
|
||||||
docker:
|
docker:
|
||||||
|
@ -32,9 +27,9 @@ jobs:
|
||||||
- image: circleci/redis:4.0
|
- image: circleci/redis:4.0
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- restore
|
- <<: *restore
|
||||||
- bundle
|
- <<: *bundle
|
||||||
- save
|
- <<: *save
|
||||||
- <<: *unit
|
- <<: *unit
|
||||||
"ruby-2.6":
|
"ruby-2.6":
|
||||||
docker:
|
docker:
|
||||||
|
@ -42,9 +37,9 @@ jobs:
|
||||||
- image: circleci/redis:4.0
|
- image: circleci/redis:4.0
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- restore
|
- <<: *restore
|
||||||
- bundle
|
- <<: *bundle
|
||||||
- save
|
- <<: *save
|
||||||
- <<: *unit
|
- <<: *unit
|
||||||
"jruby":
|
"jruby":
|
||||||
docker:
|
docker:
|
||||||
|
@ -52,9 +47,9 @@ jobs:
|
||||||
- image: circleci/redis:4.0
|
- image: circleci/redis:4.0
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- restore
|
- <<: *restore
|
||||||
- bundle
|
- <<: *bundle
|
||||||
- save
|
- <<: *save
|
||||||
- <<: *unit
|
- <<: *unit
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue