File tree Expand file tree Collapse file tree 1 file changed +40
-19
lines changed Expand file tree Collapse file tree 1 file changed +40
-19
lines changed Original file line number Diff line number Diff line change 2
2
#
3
3
# Check https://circleci.com/docs/2.0/language-ruby/ for more details
4
4
#
5
- version : 2.0
5
+ version : 2.1
6
6
7
7
shared : &shared
8
8
steps :
@@ -13,36 +13,43 @@ shared: &shared
13
13
command : |
14
14
bundle install --jobs=4 --retry=3 --path vendor/bundle
15
15
16
- - run :
17
- name : Run Rubocop checks
18
- command : |
19
- bundle exec rubocop
20
-
21
16
- run :
22
17
name : Run tests
23
18
command : |
24
19
bundle exec rspec --color --require spec_helper spec --format progress
25
20
26
21
jobs :
27
- " ruby-2.3 " :
22
+ " rubocop " :
23
+ docker :
24
+ - image : circleci/ruby:2.6.1-node-browsers
25
+ steps :
26
+ - checkout
27
+ - run : bundle install --jobs=4 --retry=3 --path vendor/bundle
28
+ - run : bundle exec rubocop
29
+
30
+ " ruby-23 " :
31
+ << : *shared
32
+ docker :
33
+ - image : circleci/ruby:2.3.8-node-browsers
34
+ " ruby-24 " :
28
35
<< : *shared
29
36
docker :
30
- - image : circleci/ruby:2.3.7 -node-browsers
31
- " ruby-2.4 " :
37
+ - image : circleci/ruby:2.4.5 -node-browsers
38
+ " ruby-25 " :
32
39
<< : *shared
33
40
docker :
34
- - image : circleci/ruby:2.4.4 -node-browsers
35
- " ruby-2.5 " :
41
+ - image : circleci/ruby:2.5.3 -node-browsers
42
+ " ruby-26 " :
36
43
<< : *shared
37
44
docker :
38
- - image : circleci/ruby:2.5 .1-node-browsers
39
- " jruby-9.1 " :
45
+ - image : circleci/ruby:2.6 .1-node-browsers
46
+ " jruby-91 " :
40
47
<< : *shared
41
48
docker :
42
49
- image : circleci/jruby:9.1-jdk
43
50
environment :
44
51
JRUBY_OPTS : " --debug"
45
- " jruby-9.2 " :
52
+ " jruby-92 " :
46
53
<< : *shared
47
54
docker :
48
55
- image : circleci/jruby:9.2-jdk
@@ -53,8 +60,22 @@ workflows:
53
60
version : 2
54
61
build :
55
62
jobs :
56
- - " ruby-2.3"
57
- - " ruby-2.4"
58
- - " ruby-2.5"
59
- - " jruby-9.1"
60
- - " jruby-9.2"
63
+ - rubocop
64
+ - " ruby-23 " :
65
+ requires :
66
+ - rubocop
67
+ - " ruby-24 " :
68
+ requires :
69
+ - rubocop
70
+ - " ruby-25 " :
71
+ requires :
72
+ - rubocop
73
+ - " ruby-26 " :
74
+ requires :
75
+ - rubocop
76
+ - " jruby-91 " :
77
+ requires :
78
+ - rubocop
79
+ - " jruby-92 " :
80
+ requires :
81
+ - rubocop
You can’t perform that action at this time.
0 commit comments