.circleci/config.yml in truemail-2.6.4 vs .circleci/config.yml in truemail-2.6.5

- old
+ new

@@ -25,26 +25,32 @@ save_cache: key: truemail-{{ checksum "truemail.gemspec" }} paths: - vendor/bundle - system_dependencies: &system_dependencies + install_system_dependencies: &install_system_dependencies run: - name: Installing system requirements + name: Installing system dependencies command: | bundle exec smtp_mock -s -i ~ install_codeclimate_reporter: &install_codeclimate_reporter run: 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_latest_gemspec: &use_latest_gemspec + run: + name: Using latest gemspec + command: | + cp .circleci/gemspec_latest truemail.gemspec + use_compatible_gemspec: &use_compatible_gemspec run: - name: Use compatible gemspec + name: Using compatible gemspec command: | cp .circleci/gemspec_compatible truemail.gemspec jobs: linters-ruby: @@ -55,10 +61,11 @@ <<: *defaults steps: - checkout + - <<: *use_latest_gemspec - <<: *restore_bundle_cache - <<: *bundle_install - <<: *save_bundle_cache - run: @@ -75,14 +82,15 @@ <<: *defaults steps: - checkout + - <<: *use_latest_gemspec - <<: *restore_bundle_cache - <<: *bundle_install - <<: *save_bundle_cache - - <<: *system_dependencies + - <<: *install_system_dependencies - <<: *install_codeclimate_reporter - run: name: Running RSpec command: | @@ -112,13 +120,13 @@ - image: cimg/ruby:<< parameters.ruby-version >> steps: - checkout - <<: *use_compatible_gemspec - ruby/install-deps: - bundler-version: "2.3.5" + bundler-version: "2.3.6" with-cache: false path: './vendor/custom_bundle' - - <<: *system_dependencies + - <<: *install_system_dependencies - run: name: Running compatibility tests command: bundle exec rspec workflows: