eventhub-processor2 1.11.0 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b42dd8fd5a7607df2058a6f5cc6de7d7ca6b78bb8165ffb98749f95a4ac0a981
4
- data.tar.gz: e76356ff1d27ed40bd89db3377a8f3981865c9cb7721044d2ae1a30aaaafb5c4
3
+ metadata.gz: 7b6bce45652e7273f4bc413483ddba906814f202379b177086eb616f6e87d7a3
4
+ data.tar.gz: c74a66fa83f7f674f191dc92b1d4992790b407097b40a5d18182f18e26aef6c3
5
5
  SHA512:
6
- metadata.gz: 5aef448a233fbe8f7e986b701f0680d105c31112b82befbaeaa4a56d8cab7f4ea0c38563005889ea2181aebb3a1de7804c19634d7377ae5f651503695e4ffbf3
7
- data.tar.gz: 0e560666d538df0fb14bcd78d44b591b257a43155d0159aadf11cedfa2ba60bd1cf411b2af5cffea81b8c8561436cbb6bd969a119582e3004ac2c953e14eaefa
6
+ metadata.gz: aadaf38e8eccf0723ccb51bdd5233f7f5d57ad1e536c9d63714028f769a5da4322e64631480d6bf5d546d8e9b7d2641179054e34af39744e5435bd117f89b15b
7
+ data.tar.gz: 90b0052940a20f671e9fe8e1c83f15033a1f8cabb969ac59f02633fe245ad8033b83a2aad855c07dc0b2cea6c88180d20f17e6e8dee5d45a1e00fba5eb18d121
@@ -0,0 +1,6 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: 'bundler'
4
+ directory: '/'
5
+ schedule:
6
+ interval: 'weekly'
@@ -0,0 +1,32 @@
1
+ name: cd
2
+
3
+ on:
4
+ workflow_dispatch:
5
+
6
+ jobs:
7
+
8
+ build:
9
+ runs-on: ubuntu-latest
10
+
11
+ steps:
12
+ - name: Checkout current code
13
+ uses: actions/checkout@v2
14
+
15
+ - name: Set up Ruby
16
+ uses: ruby/setup-ruby@v1
17
+ with:
18
+ ruby-version: '3.1'
19
+ bundler-cache: true
20
+ cache-version: 1
21
+
22
+ - name: Push to Rubygems
23
+ env:
24
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25
+ run: |
26
+ git config --global user.email "thomas.steiner@ikey.ch"
27
+ git config --global user.name "thomis"
28
+ mkdir ~/.gem
29
+ echo -e "---\n:rubygems_api_key: ${{ secrets.RUBYGEMS_API_KEY }}" > ~/.gem/credentials
30
+ chmod 600 ~/.gem/credentials
31
+ bundle exec rake release
32
+ rm ~/.gem/credentials
@@ -0,0 +1,44 @@
1
+ name: ci
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - "*"
7
+
8
+ pull_request:
9
+ branches:
10
+ - "*"
11
+
12
+ schedule:
13
+ - cron: 0 2 * * *
14
+
15
+ # Allows you to run this workflow manually from the Actions tab
16
+ workflow_dispatch:
17
+
18
+ jobs:
19
+ build:
20
+ runs-on: ubuntu-latest
21
+ strategy:
22
+ fail-fast: false
23
+ matrix:
24
+ ruby: [ '3.1', '3.0', '2.7', '2.6']
25
+
26
+ name: Ruby ${{ matrix.ruby }}
27
+ steps:
28
+ - uses: actions/checkout@v1
29
+
30
+ - name: Set up Ruby
31
+ uses: ruby/setup-ruby@v1
32
+ with:
33
+ ruby-version: ${{ matrix.ruby }}
34
+ bundler-cache: true
35
+ cache-version: 1
36
+
37
+ - name: Setup RabbitMQ
38
+ run: |
39
+ cd docker && docker build -t processor-rabbitmq .
40
+ docker run -d -p 5672:5672 -p 15672:15672 --name processor-rabbitmq processor-rabbitmq
41
+
42
+ - name: Run default task
43
+ run: |
44
+ bundle exec rake
data/.gitignore CHANGED
@@ -4,3 +4,5 @@ coverage
4
4
  logs
5
5
  example/data
6
6
  pkg
7
+ tmp
8
+ checksums
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog of EventHub::Processor2
2
2
 
3
+ ## 1.12.0 / 2021-07-26
4
+
5
+ * Updated gem dependencies
6
+ * Move to GitHub actions
7
+ * Add Dependabot to keep dependencies up-to-date
8
+ * Format corrections
9
+
3
10
  ## 1.11.0 / 2021-05-01
4
11
 
5
12
  * Updated gem dependencies
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- eventhub-processor2 (1.11.0)
5
- bunny (~> 2.15)
4
+ eventhub-processor2 (1.12.0)
5
+ bunny (~> 2.19)
6
6
  celluloid (~> 0.18)
7
7
  eventhub-components (~> 0.2)
8
8
  uuidtools (~> 2.1)
@@ -12,78 +12,85 @@ GEM
12
12
  specs:
13
13
  amq-protocol (2.3.2)
14
14
  ast (2.4.2)
15
- bunny (2.17.0)
15
+ bunny (2.19.0)
16
16
  amq-protocol (~> 2.3, >= 2.3.1)
17
+ sorted_set (~> 1, >= 1.0.2)
17
18
  celluloid (0.18.0)
18
19
  timers (~> 4)
19
- diff-lcs (1.4.4)
20
- docile (1.3.5)
20
+ diff-lcs (1.5.0)
21
+ docile (1.4.0)
21
22
  eventhub-components (0.2.2)
22
23
  logstash-logger (~> 0.26)
24
+ json (2.6.2)
23
25
  logstash-event (1.2.02)
24
26
  logstash-logger (0.26.1)
25
27
  logstash-event (~> 1.2)
26
- parallel (1.20.1)
27
- parser (3.0.1.0)
28
+ parallel (1.22.1)
29
+ parser (3.1.2.0)
28
30
  ast (~> 2.4.1)
29
- rainbow (3.0.0)
30
- rake (13.0.3)
31
- regexp_parser (2.1.1)
31
+ rainbow (3.1.1)
32
+ rake (13.0.6)
33
+ rbtree (0.4.5)
34
+ regexp_parser (2.5.0)
32
35
  rexml (3.2.5)
33
- rspec (3.10.0)
34
- rspec-core (~> 3.10.0)
35
- rspec-expectations (~> 3.10.0)
36
- rspec-mocks (~> 3.10.0)
37
- rspec-core (3.10.1)
38
- rspec-support (~> 3.10.0)
39
- rspec-expectations (3.10.1)
36
+ rspec (3.11.0)
37
+ rspec-core (~> 3.11.0)
38
+ rspec-expectations (~> 3.11.0)
39
+ rspec-mocks (~> 3.11.0)
40
+ rspec-core (3.11.0)
41
+ rspec-support (~> 3.11.0)
42
+ rspec-expectations (3.11.0)
40
43
  diff-lcs (>= 1.2.0, < 2.0)
41
- rspec-support (~> 3.10.0)
42
- rspec-mocks (3.10.2)
44
+ rspec-support (~> 3.11.0)
45
+ rspec-mocks (3.11.1)
43
46
  diff-lcs (>= 1.2.0, < 2.0)
44
- rspec-support (~> 3.10.0)
45
- rspec-support (3.10.2)
46
- rubocop (1.12.1)
47
+ rspec-support (~> 3.11.0)
48
+ rspec-support (3.11.0)
49
+ rubocop (1.32.0)
50
+ json (~> 2.3)
47
51
  parallel (~> 1.10)
48
- parser (>= 3.0.0.0)
52
+ parser (>= 3.1.0.0)
49
53
  rainbow (>= 2.2.2, < 4.0)
50
54
  regexp_parser (>= 1.8, < 3.0)
51
- rexml
52
- rubocop-ast (>= 1.2.0, < 2.0)
55
+ rexml (>= 3.2.5, < 4.0)
56
+ rubocop-ast (>= 1.19.1, < 2.0)
53
57
  ruby-progressbar (~> 1.7)
54
58
  unicode-display_width (>= 1.4.0, < 3.0)
55
- rubocop-ast (1.4.1)
56
- parser (>= 2.7.1.5)
57
- rubocop-performance (1.10.1)
58
- rubocop (>= 0.90.0, < 2.0)
59
+ rubocop-ast (1.19.1)
60
+ parser (>= 3.1.1.0)
61
+ rubocop-performance (1.14.3)
62
+ rubocop (>= 1.7.0, < 2.0)
59
63
  rubocop-ast (>= 0.4.0)
60
64
  ruby-progressbar (1.11.0)
65
+ set (1.0.2)
61
66
  simplecov (0.21.2)
62
67
  docile (~> 1.1)
63
68
  simplecov-html (~> 0.11)
64
69
  simplecov_json_formatter (~> 0.1)
65
70
  simplecov-html (0.12.3)
66
- simplecov_json_formatter (0.1.2)
67
- standard (1.0.5)
68
- rubocop (= 1.12.1)
69
- rubocop-performance (= 1.10.1)
70
- standardrb (1.0.0)
71
- standard
71
+ simplecov_json_formatter (0.1.4)
72
+ sorted_set (1.0.3)
73
+ rbtree
74
+ set (~> 1.0)
75
+ standard (1.14.0)
76
+ rubocop (= 1.32.0)
77
+ rubocop-performance (= 1.14.3)
72
78
  timers (4.3.3)
73
- unicode-display_width (2.0.0)
79
+ unicode-display_width (2.2.0)
74
80
  uuidtools (2.2.0)
75
81
 
76
82
  PLATFORMS
83
+ arm64-darwin-21
77
84
  ruby
78
85
  x86_64-darwin-18
79
86
 
80
87
  DEPENDENCIES
81
- bundler (~> 2.1)
88
+ bundler (~> 2.3)
82
89
  eventhub-processor2!
83
90
  rake (~> 13.0)
84
- rspec (~> 3.9)
91
+ rspec (~> 3.11)
85
92
  simplecov (~> 0.21)
86
- standardrb (~> 1.0)
93
+ standard (~> 1.14)
87
94
 
88
95
  BUNDLED WITH
89
- 2.2.2
96
+ 2.3.18
data/README.md CHANGED
@@ -1,7 +1,5 @@
1
1
  [![Gem Version](https://badge.fury.io/rb/eventhub-processor2.svg)](https://badge.fury.io/rb/eventhub-processor2)
2
- [![Maintainability](https://api.codeclimate.com/v1/badges/9112358562f0614e0e02/maintainability)](https://codeclimate.com/github/thomis/eventhub-processor2/maintainability)
3
- [![Test Coverage](https://api.codeclimate.com/v1/badges/9112358562f0614e0e02/test_coverage)](https://codeclimate.com/github/thomis/eventhub-processor2/test_coverage)
4
- [![Build Status](https://travis-ci.org/thomis/eventhub-processor2.svg?branch=master)](https://travis-ci.org/thomis/eventhub-processor2)
2
+ [![ci](https://github.com/thomis/eventhub-processor2/actions/workflows/ci.yml/badge.svg)](https://github.com/thomis/eventhub-processor2/actions/workflows/ci.yml)
5
3
 
6
4
  # EventHub::Processor2
7
5
 
data/docker/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM rabbitmq:3.8.14-management
1
+ FROM rabbitmq:management-alpine
2
2
 
3
3
  LABEL maintainer="thomas.steiner@ikey.ch"
4
4
 
@@ -1,7 +1,7 @@
1
1
  {
2
- "rabbitmq_version": "3.8.14",
2
+ "rabbitmq_version": "3.10",
3
3
  "product_name": "RabbitMQ",
4
- "product_version": "3.8.14",
4
+ "product_version": "3.10",
5
5
  "users": [
6
6
  {
7
7
  "name": "guest",
@@ -4,7 +4,7 @@ services:
4
4
  rabbitmq:
5
5
  build: .
6
6
  container_name: eventhub.rabbitmq
7
- image: eventhub.rabbitmq:3.8.14
7
+ image: eventhub.rabbitmq
8
8
  ports:
9
9
  - "5672:5672"
10
10
  - "15672:15672"
@@ -22,17 +22,14 @@ Gem::Specification.new do |spec|
22
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ["lib"]
24
24
 
25
- # required by celluloid and bunny (-> amq-protocol)
26
- # spec.required_ruby_version = '~> 2.2.6'
27
-
28
25
  spec.add_dependency "celluloid", "~> 0.18"
29
- spec.add_dependency "bunny", "~> 2.15"
26
+ spec.add_dependency "bunny", "~> 2.19"
30
27
  spec.add_dependency "eventhub-components", "~> 0.2"
31
28
  spec.add_dependency "uuidtools", "~> 2.1"
32
29
 
33
- spec.add_development_dependency "bundler", "~> 2.1"
30
+ spec.add_development_dependency "bundler", "~> 2.3"
34
31
  spec.add_development_dependency "rake", "~> 13.0"
35
- spec.add_development_dependency "rspec", "~> 3.9"
32
+ spec.add_development_dependency "rspec", "~> 3.11"
36
33
  spec.add_development_dependency "simplecov", "~> 0.21"
37
- spec.add_development_dependency "standardrb", "~> 1.0"
34
+ spec.add_development_dependency "standard", "~> 1.14"
38
35
  end
data/example/publisher.rb CHANGED
@@ -114,8 +114,8 @@ module Publisher
114
114
 
115
115
  def connect
116
116
  @connection = Bunny.new(vhost: "event_hub",
117
- automatic_recovery: false,
118
- logger: Logger.new("/dev/null"))
117
+ automatic_recovery: false,
118
+ logger: Logger.new("/dev/null"))
119
119
  @connection.start
120
120
  @channel = @connection.create_channel
121
121
  @channel.confirm_select
@@ -42,7 +42,7 @@ module EventHub
42
42
  success = channel.wait_for_confirms
43
43
 
44
44
  unless success
45
- raise "Published heartbeat message has "\
45
+ raise "Published heartbeat message has " \
46
46
  "not been confirmed by the server"
47
47
  end
48
48
  ensure
@@ -29,20 +29,20 @@ module EventHub
29
29
  with_listen(args) do |connection, channel, consumer, queue, queue_name|
30
30
  EventHub.logger.info("Listening to queue [#{queue_name}]")
31
31
  consumer.on_delivery do |delivery_info, metadata, payload|
32
- EventHub.logger.info("#{queue_name}: [#{delivery_info.delivery_tag}]"\
32
+ EventHub.logger.info("#{queue_name}: [#{delivery_info.delivery_tag}]" \
33
33
  " delivery")
34
34
 
35
35
  @processor_instance.statistics.measure(payload.size) do
36
36
  handle_payload(payload: payload,
37
- connection: connection,
38
- queue_name: queue_name,
39
- content_type: metadata[:content_type],
40
- priority: metadata[:priority],
41
- delivery_tag: delivery_info.delivery_tag)
37
+ connection: connection,
38
+ queue_name: queue_name,
39
+ content_type: metadata[:content_type],
40
+ priority: metadata[:priority],
41
+ delivery_tag: delivery_info.delivery_tag)
42
42
  channel.acknowledge(delivery_info.delivery_tag, false)
43
43
  end
44
44
 
45
- EventHub.logger.info("#{queue_name}: [#{delivery_info.delivery_tag}]"\
45
+ EventHub.logger.info("#{queue_name}: [#{delivery_info.delivery_tag}]" \
46
46
  " acknowledged")
47
47
  end
48
48
  queue.subscribe_with(consumer, block: false)
@@ -31,7 +31,7 @@ module EventHub
31
31
  success = channel.wait_for_confirms
32
32
 
33
33
  unless success
34
- raise "Published message from Listener actor "\
34
+ raise "Published message from Listener actor " \
35
35
  "has not been confirmed by the server"
36
36
  end
37
37
  ensure
@@ -124,13 +124,13 @@ module EventHub
124
124
  end
125
125
 
126
126
  def instance
127
- warn "[DEPRECATION] `instance` is deprecated. Please use new"\
127
+ warn "[DEPRECATION] `instance` is deprecated. Please use new" \
128
128
  " configuration access method."
129
129
  self
130
130
  end
131
131
 
132
132
  def data
133
- warn "[DEPRECATION] `data` is deprecated. Please use new configuration"\
133
+ warn "[DEPRECATION] `data` is deprecated. Please use new configuration" \
134
134
  " access method."
135
135
  stringify_keys(@config_data)
136
136
  end
@@ -125,8 +125,8 @@ module EventHub
125
125
  end
126
126
 
127
127
  def to_s
128
- "Msg: process "\
129
- "[#{process_name}, #{process_step_position}, #{process_execution_id}]"\
128
+ "Msg: process " \
129
+ "[#{process_name}, #{process_step_position}, #{process_execution_id}]" \
130
130
  ", status [#{status_code},#{status_message},#{status_retried_count}]"
131
131
  end
132
132
 
@@ -1,3 +1,3 @@
1
1
  module EventHub
2
- VERSION = "1.11.0".freeze
2
+ VERSION = "1.12.0".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eventhub-processor2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steiner, Thomas
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-05-01 00:00:00.000000000 Z
11
+ date: 2022-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: celluloid
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '2.15'
33
+ version: '2.19'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '2.15'
40
+ version: '2.19'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: eventhub-components
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '2.1'
75
+ version: '2.3'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '2.1'
82
+ version: '2.3'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '3.9'
103
+ version: '3.11'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '3.9'
110
+ version: '3.11'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: simplecov
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -123,19 +123,19 @@ dependencies:
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0.21'
125
125
  - !ruby/object:Gem::Dependency
126
- name: standardrb
126
+ name: standard
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '1.0'
131
+ version: '1.14'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: '1.0'
138
+ version: '1.14'
139
139
  description: Next generation gem to build ruby based eventhub processor
140
140
  email:
141
141
  - thomas.steiner@ikey.ch
@@ -143,11 +143,11 @@ executables: []
143
143
  extensions: []
144
144
  extra_rdoc_files: []
145
145
  files:
146
- - ".codeclimate.yml"
146
+ - ".github/dependabot.yml"
147
+ - ".github/workflows/cd.yml"
148
+ - ".github/workflows/ci.yml"
147
149
  - ".gitignore"
148
150
  - ".rspec"
149
- - ".ruby-version"
150
- - ".travis.yml"
151
151
  - CHANGELOG.md
152
152
  - Gemfile
153
153
  - Gemfile.lock
@@ -191,7 +191,7 @@ homepage: https://github.com/thomis/eventhub-processor2
191
191
  licenses:
192
192
  - MIT
193
193
  metadata: {}
194
- post_install_message:
194
+ post_install_message:
195
195
  rdoc_options: []
196
196
  require_paths:
197
197
  - lib
@@ -206,8 +206,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
206
206
  - !ruby/object:Gem::Version
207
207
  version: '0'
208
208
  requirements: []
209
- rubygems_version: 3.0.3
210
- signing_key:
209
+ rubygems_version: 3.3.7
210
+ signing_key:
211
211
  specification_version: 4
212
212
  summary: Next generation gem to build ruby based eventhub processor
213
213
  test_files: []
data/.codeclimate.yml DELETED
@@ -1,4 +0,0 @@
1
- plugins:
2
- rubocop:
3
- enabled: true
4
- channel: rubocop-1-9-1
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 2.6.6
data/.travis.yml DELETED
@@ -1,36 +0,0 @@
1
- sudo: required
2
-
3
- language: ruby
4
-
5
- services:
6
- - docker
7
-
8
- os:
9
- - linux
10
-
11
- rvm:
12
- - 3.0.0
13
- - 2.7.2
14
- - 2.6.6
15
- - 2.5.8
16
-
17
- env:
18
- - secure: R0rBtWClmnJKO+zyAncF6+1qDpZ6JQR+Z6VXzUmWw8MuxUXv732XTNYulY/tTeDW876GofAsOF9QfX/jhF+2ubV8SzM6rKTZS09feATuOWRPtECEaBOPcb0JGYouBNg/Lv4onuXb8KS/9U093sRqiJMfib82iY7QK9bnDPsYoQXtMnI7KBeQNrTV0H4nby3lvbjcpMDhmyg+anOmCP5yepZeS53Qq+C5GHguYivisvhSPmCfONrT303XxFLDo/aOkMDlceeZBDhtcpm5Px3GIwybSI9xRtAnpT73oL1Piazda6mRN7VHoT7YAHKqcJNZDB48HYuTj3Pt3oVVw0v78Cf25caBqXttXflXfB8U3qfVt+94uF0icH34NAnpW9l1B8GXHi6CTr27Hg2ZatWkQCN1rCpcCaW0eM/NoAG6snwTIwr1VvjLWpSW5wwhQgHPyMl+MRlTmCn/UM+eQSwPVhflKpMS1+ah6cbhDrQQF1jDt3dRaLqSnVE4APrafdT90SA3SCG2MGOE+pp+DX528gEsRB34UdX2V67dlwXeRu1eU5vZBR7jZrqwuwTAgSvxEF0eJWC0kgvEfouzuVHhVmmSAcNNHlg2kd0/oyQELyXTsklJghwAupcy4X/GEAyfLW9GAxItjATyV7XyfjmaBmdzHl/5JWeXicoyZ/4+8iE=
19
-
20
- before_install:
21
- - cd docker && docker build -t processor-rabbitmq .
22
- - docker run -d -p 5672:5672 -p 15672:15672 --name processor-rabbitmq processor-rabbitmq
23
- - cd ..
24
- - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64
25
- > ./cc-test-reporter
26
- - chmod +x ./cc-test-reporter
27
- - gem install bundler --version '~> 2.1.2'
28
-
29
- before_script:
30
- - "./cc-test-reporter before-build"
31
-
32
- script:
33
- - bundle exec rspec
34
-
35
- after_script:
36
- - "./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT"