forked from cookpad/omniauth-rails_csrf_protection
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yml
105 lines (91 loc) · 1.94 KB
/
config.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
version: 2.1
build_steps: &build_steps
steps:
- checkout
- run:
name: Install dependencies
command: bundle update
- run:
command: |-
echo "Ruby version:" $(ruby -v)
echo "Rails version: " $(rails -v)
name: Show build information
- run:
name: Run tests
command: rake
ruby-2-4: &ruby-2-4
docker:
- image: circleci/ruby:2.4
ruby-2-5: &ruby-2-5
docker:
- image: circleci/ruby:2.5
ruby-2-6: &ruby-2-6
docker:
- image: circleci/ruby:2.6
rails-5-1: &rails-5-1
environment:
RAILS_VERSION: "~> 5.1.0"
rails-5-2: &rails-5-2
environment:
RAILS_VERSION: "~> 5.2.0"
rails-6-0: &rails-6-0
environment:
RAILS_VERSION: "6.0.0.rc1"
rails-edge: &rails-edge
environment:
RAILS_BRANCH: "master"
jobs:
"ruby-2-4-rails-5-1":
<<: *ruby-2-4
<<: *rails-5-1
<<: *build_steps
"ruby-2-4-rails-5-2":
<<: *ruby-2-4
<<: *rails-5-2
<<: *build_steps
"ruby-2-5-rails-5-1":
<<: *ruby-2-5
<<: *rails-5-1
<<: *build_steps
"ruby-2-5-rails-5-2":
<<: *ruby-2-5
<<: *rails-5-2
<<: *build_steps
"ruby-2-5-rails-6-0":
<<: *ruby-2-5
<<: *rails-6-0
<<: *build_steps
"ruby-2-5-rails-edge":
<<: *ruby-2-5
<<: *rails-edge
<<: *build_steps
"ruby-2-6-rails-5-1":
<<: *ruby-2-6
<<: *rails-5-1
<<: *build_steps
"ruby-2-6-rails-5-2":
<<: *ruby-2-6
<<: *rails-5-2
<<: *build_steps
"ruby-2-6-rails-6-0":
<<: *ruby-2-6
<<: *rails-6-0
<<: *build_steps
"ruby-2-6-rails-edge":
<<: *ruby-2-6
<<: *rails-edge
<<: *build_steps
workflows:
version: 2
build:
jobs:
- "ruby-2-4-rails-5-1"
- "ruby-2-4-rails-5-2"
- "ruby-2-5-rails-5-1"
- "ruby-2-5-rails-5-2"
- "ruby-2-5-rails-6-0"
- "ruby-2-5-rails-edge"
- "ruby-2-6-rails-5-1"
- "ruby-2-6-rails-5-2"
- "ruby-2-6-rails-6-0"
- "ruby-2-6-rails-edge"