Skip to content

Commit 1bb1b47

Browse files
committed
Update .circleci/config.yml
1 parent 123849d commit 1bb1b47

File tree

1 file changed

+48
-9
lines changed

1 file changed

+48
-9
lines changed

.circleci/config.yml

Lines changed: 48 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,54 @@
11
version: 2.1
2-
orbs:
3-
ruby: circleci/ruby@0.1.2
42

53
jobs:
6-
build:
4+
build_ruby_2_6:
75
docker:
8-
- image: circleci/ruby:2.6.3-stretch-node
9-
executor: ruby/default
6+
- image: 'cimg/ruby:2.6'
107
steps:
118
- checkout
12-
- run:
13-
name: Which bundler?
14-
command: bundle -v
15-
- ruby/bundle-install
9+
- run: 'bundle install'
10+
- run: './test/test_git-status-tree'
11+
build_ruby_2_7:
12+
docker:
13+
- image: 'cimg/ruby:2.7'
14+
steps:
15+
- checkout
16+
- run: 'bundle install'
17+
- run: './test/test_git-status-tree'
18+
build_ruby_3_0:
19+
docker:
20+
- image: 'cimg/ruby:3.0'
21+
steps:
22+
- checkout
23+
- run: 'bundle install'
24+
- run: './test/test_git-status-tree'
25+
build_ruby_3_1:
26+
docker:
27+
- image: 'cimg/ruby:3.1'
28+
steps:
29+
- checkout
30+
- run: 'bundle install'
31+
- run: './test/test_git-status-tree'
32+
build_ruby_3_2:
33+
docker:
34+
- image: 'cimg/ruby:3.2'
35+
steps:
36+
- checkout
37+
- run: 'bundle install'
38+
- run: './test/test_git-status-tree'
39+
workflows:
40+
build_ruby_2_6:
41+
jobs:
42+
- build_ruby_2_6
43+
build_ruby_2_7:
44+
jobs:
45+
- build_ruby_2_7
46+
build_ruby_3_0:
47+
jobs:
48+
- build_ruby_3_0
49+
build_ruby_3_1:
50+
jobs:
51+
- build_ruby_3_1
52+
build_ruby_3_2:
53+
jobs:
54+
- build_ruby_3_2

0 commit comments

Comments
 (0)