.circleci/config.yml in truemail-2.5.4 vs .circleci/config.yml in truemail-2.6.0
- old
+ new
@@ -2,31 +2,26 @@
defaults: &defaults
working_directory: ~/truemail
docker:
- image: cimg/ruby:<< parameters.ruby-version >>
- environment:
- CC_TEST_REPORTER_ID: 693272a1328521f6f7c09d7ffd419b21c00410da26e98e94c687fdd38b26e2cb
orbs:
- ruby: circleci/ruby@1.1.3
+ ruby: circleci/ruby@1.2.0
references:
- install_bundler: &install_bundler
- run:
- name: Installing Bundler
- command: gem i bundler -v $(tail -1 Gemfile.lock | tr -d ' ')
-
restore_bundle_cache: &restore_bundle_cache
restore_cache:
keys:
- truemail-{{ checksum "truemail.gemspec" }}
bundle_install: &bundle_install
run:
name: Installing gems
- command: bundle install --path vendor/bundle
+ command: |
+ bundle config set --local path 'vendor/bundle'
+ bundle install
save_bundle_cache: &save_bundle_cache
save_cache:
key: truemail-{{ checksum "truemail.gemspec" }}
paths:
@@ -48,11 +43,10 @@
<<: *defaults
steps:
- checkout
- - <<: *install_bundler
- <<: *restore_bundle_cache
- <<: *bundle_install
- <<: *save_bundle_cache
- run:
@@ -69,11 +63,10 @@
<<: *defaults
steps:
- checkout
- - <<: *install_bundler
- <<: *restore_bundle_cache
- <<: *bundle_install
- <<: *save_bundle_cache
- <<: *install_codeclimate_reporter
@@ -105,10 +98,11 @@
docker:
- image: cimg/ruby:<< parameters.ruby-version >>
steps:
- checkout
- ruby/install-deps:
+ bundler-version: "2.3.3"
with-cache: false
path: './vendor/custom_bundle'
- run:
name: Running compatibility tests
command: bundle exec rspec
@@ -125,6 +119,6 @@
parameters:
ruby-version: ["2.5"]
- compatibility-ruby:
matrix:
parameters:
- ruby-version: ["2.6", "2.7", "3.0"]
+ ruby-version: ["2.6", "2.7", "3.0", "3.1"]