From 6a9420a718ea1cd76fafef2b53f0e519690bbfd4 Mon Sep 17 00:00:00 2001 From: sue445 Date: Tue, 21 Apr 2020 21:56:57 +0900 Subject: [PATCH] Migrate to matrix job c.f. * https://circleci.com/blog/circleci-matrix-jobs/ * https://circleci.com/docs/2.0/configuration-reference/#matrix-requires-version-21 --- .circleci/config.yml | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b9f5a3d..d0b49c6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -44,23 +44,15 @@ jobs: build_jobs: &build_jobs - rspec: - name: "rspec:2.2" - version: "2.2" - - rspec: - name: "rspec:2.3" - version: "2.3" - - rspec: - name: "rspec:2.4" - version: "2.4" - - rspec: - name: "rspec:2.5" - version: "2.5" - - rspec: - name: "rspec:2.6" - version: "2.6" - - rspec: - name: "rspec:2.7" - version: "2.7" + matrix: + parameters: + version: + - "2.2" + - "2.3" + - "2.4" + - "2.5" + - "2.6" + - "2.7" workflows: version: 2