Skip to content

Commit 9dd63c8

Browse files
committed
CircleCI
1 parent a48460f commit 9dd63c8

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.circleci/config.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
version: 2.1
2+
orbs:
3+
ruby: circleci/[email protected]
4+
references:
5+
unit: &unit
6+
run:
7+
name: Run test suite
8+
command: bundle exec rspec spec/
9+
10+
jobs:
11+
- "ruby-2.5"
12+
docker:
13+
- image: 'cimg/base:stable'
14+
steps:
15+
- checkout
16+
- ruby/install:
17+
version: "2.5"
18+
- ruby/install-deps
19+
- <<: *unit
20+
- "ruby-2.6"
21+
docker:
22+
- image: 'cimg/base:stable'
23+
steps:
24+
- checkout
25+
- ruby/install:
26+
version: "2.6"
27+
- ruby/install-deps
28+
- <<: *unit
29+
- "ruby-2.7"
30+
docker:
31+
- image: 'cimg/base:stable'
32+
steps:
33+
- checkout
34+
- ruby/install:
35+
version: "2.7"
36+
- ruby/install-deps
37+
- <<: *unit
38+
39+
workflows:
40+
version: 2
41+
build:
42+
jobs:
43+
- "ruby-2.5"
44+
- "ruby-2.6"
45+
- "ruby-2.7"

0 commit comments

Comments
 (0)