.circleci/config.yml in truemail-2.6.2 vs .circleci/config.yml in truemail-2.6.3
- old
+ new
@@ -4,11 +4,11 @@
working_directory: ~/truemail
docker:
- image: cimg/ruby:<< parameters.ruby-version >>
orbs:
- ruby: circleci/ruby@1.2.0
+ ruby: circleci/ruby@1.4.0
references:
restore_bundle_cache: &restore_bundle_cache
restore_cache:
keys:
@@ -38,10 +38,16 @@
name: Installing CodeClimate test reporter
command: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
+ use_compatible_gemspec: &use_compatible_gemspec
+ run:
+ name: Use compatible gemspec
+ command: |
+ cp .circleci/gemspec_compatible truemail.gemspec
+
jobs:
linters-ruby:
parameters:
ruby-version:
type: string
@@ -104,10 +110,11 @@
type: string
docker:
- image: cimg/ruby:<< parameters.ruby-version >>
steps:
- checkout
+ - <<: *use_compatible_gemspec
- ruby/install-deps:
bundler-version: "2.3.5"
with-cache: false
path: './vendor/custom_bundle'
- <<: *system_dependencies
@@ -119,14 +126,14 @@
build_and_test:
jobs:
- linters-ruby:
matrix:
parameters:
- ruby-version: ["2.5"]
+ ruby-version: ["3.1"]
- tests-ruby:
matrix:
parameters:
- ruby-version: ["2.5"]
+ ruby-version: ["3.1"]
- compatibility-ruby:
matrix:
parameters:
- ruby-version: ["2.6", "2.7", "3.0", "3.1"]
+ ruby-version: ["2.5", "2.6", "2.7", "3.0"]