Skip to content

Commit 74a1b9a

Browse files
authored
Merge pull request #3 from zombocom/schneems/circle-ci
CircleCI
2 parents a48460f + f8fe117 commit 74a1b9a

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

.circleci/config.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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+
21+
"ruby-2-6":
22+
docker:
23+
- image: 'cimg/base:stable'
24+
steps:
25+
- checkout
26+
- ruby/install:
27+
version: "2.6"
28+
- ruby/install-deps
29+
- <<: *unit
30+
31+
"ruby-2-7":
32+
docker:
33+
- image: 'cimg/base:stable'
34+
steps:
35+
- checkout
36+
- ruby/install:
37+
version: "2.7"
38+
- ruby/install-deps
39+
- <<: *unit
40+
41+
workflows:
42+
version: 2
43+
build:
44+
jobs:
45+
- "ruby-2-5"
46+
- "ruby-2-6"
47+
- "ruby-2-7"

0 commit comments

Comments
 (0)