Skip to content

Commit

Permalink
cifix
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Apr 18, 2019
1 parent a07e5b1 commit 5d429ae
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,57 +4,52 @@ 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:
- image: circleci/ruby:2.5
- image: circleci/redis:4.0
steps:
- checkout
- restore
- bundle
- save
- <<: *restore
- <<: *bundle
- <<: *save
- <<: *unit
"ruby-2.6":
docker:
- image: circleci/ruby:2.6
- image: circleci/redis:4.0
steps:
- checkout
- restore
- bundle
- save
- <<: *restore
- <<: *bundle
- <<: *save
- <<: *unit
"jruby":
docker:
- image: circleci/jruby:latest
- image: circleci/redis:4.0
steps:
- checkout
- restore
- bundle
- save
- <<: *restore
- <<: *bundle
- <<: *save
- <<: *unit

workflows:
Expand Down

0 comments on commit 5d429ae

Please sign in to comment.