-
Notifications
You must be signed in to change notification settings - Fork 5
/
circle.yml
59 lines (56 loc) · 1.13 KB
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
version: 2.1
executors:
ruby_25:
docker:
- image: circleci/ruby:2.5-node
ruby_26:
docker:
- image: circleci/ruby:2.6-node
ruby_27:
docker:
- image: circleci/ruby:2.7-node
commands:
setup:
steps:
- run:
name: Update RubyGems
command: |
gem update --system
gem --version
- run:
name: Install Bundler
command: |
gem install bundler
bundler --version
bundle config set path './vendor/bundle'
- run:
name: Install Depdendecies
command: |
bundle check || bundle install
run_tests:
steps:
- run:
name: Run Tests
command: |
bundle exec rake
jobs:
test_core:
parameters:
stack:
type: executor
default: ruby_27
executor: << parameters.stack >>
steps:
- checkout
- setup
- run_tests
workflows:
core:
jobs:
- test_core:
matrix:
parameters:
stack:
- ruby_27
- ruby_26
- ruby_25