Skip to content

Commit 0e800e0

Browse files
authored
Merge pull request #494 from truecoach/chore/test-against-all-major-supported-ruby-versions
[chore] test against each major supported Ruby version
2 parents dc7d65b + 0a07bc9 commit 0e800e0

File tree

1 file changed

+27
-4
lines changed

1 file changed

+27
-4
lines changed

.circleci/config.yml

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,35 @@
11
version: 2
22
jobs:
3-
build:
3+
"Test against Ruby 2.4":
44
docker:
5-
- image: circleci/ruby:2.4.6
6-
5+
- image: circleci/ruby:2.4.9
6+
working_directory: ~/intercom-ruby
7+
steps:
8+
- checkout
9+
- run: bundle install
10+
- run: bundle exec rake
11+
"Test against Ruby 2.5":
12+
docker:
13+
- image: circleci/ruby:2.5.7
714
working_directory: ~/intercom-ruby
8-
915
steps:
1016
- checkout
1117
- run: bundle install
1218
- run: bundle exec rake
19+
"Test against Ruby 2.6":
20+
docker:
21+
- image: circleci/ruby:2.6.5
22+
working_directory: ~/intercom-ruby
23+
steps:
24+
- checkout
25+
- run: bundle install
26+
- run: bundle exec rake
27+
28+
workflows:
29+
version: 2
30+
build_and_test:
31+
jobs:
32+
- "Test against Ruby 2.4"
33+
- "Test against Ruby 2.5"
34+
- "Test against Ruby 2.6"
35+

0 commit comments

Comments
 (0)