fluentd 1.11.5-x64-mingw32 → 1.12.4-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of fluentd might be problematic. Click here for more details.

Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/.deepsource.toml +13 -0
  3. data/.github/ISSUE_TEMPLATE/bug_report.md +1 -1
  4. data/.github/ISSUE_TEMPLATE/config.yml +5 -0
  5. data/.github/workflows/linux-test.yaml +36 -0
  6. data/.github/workflows/macos-test.yaml +30 -0
  7. data/.github/workflows/stale-actions.yml +22 -0
  8. data/.github/workflows/windows-test.yaml +35 -0
  9. data/.gitlab-ci.yml +41 -19
  10. data/CHANGELOG.md +158 -0
  11. data/MAINTAINERS.md +5 -2
  12. data/README.md +7 -4
  13. data/bin/fluent-cap-ctl +7 -0
  14. data/bin/fluent-ctl +7 -0
  15. data/fluentd.gemspec +6 -4
  16. data/lib/fluent/capability.rb +87 -0
  17. data/lib/fluent/command/bundler_injection.rb +1 -1
  18. data/lib/fluent/command/ca_generate.rb +6 -3
  19. data/lib/fluent/command/cap_ctl.rb +174 -0
  20. data/lib/fluent/command/cat.rb +0 -1
  21. data/lib/fluent/command/ctl.rb +177 -0
  22. data/lib/fluent/command/fluentd.rb +4 -0
  23. data/lib/fluent/command/plugin_config_formatter.rb +18 -2
  24. data/lib/fluent/command/plugin_generator.rb +31 -1
  25. data/lib/fluent/compat/parser.rb +2 -2
  26. data/lib/fluent/config/section.rb +2 -2
  27. data/lib/fluent/config/types.rb +2 -2
  28. data/lib/fluent/env.rb +4 -0
  29. data/lib/fluent/event.rb +3 -13
  30. data/lib/fluent/load.rb +0 -1
  31. data/lib/fluent/plugin.rb +5 -0
  32. data/lib/fluent/plugin/buffer.rb +2 -21
  33. data/lib/fluent/plugin/file_wrapper.rb +39 -3
  34. data/lib/fluent/plugin/formatter.rb +2 -2
  35. data/lib/fluent/plugin/formatter_csv.rb +1 -1
  36. data/lib/fluent/plugin/formatter_hash.rb +1 -1
  37. data/lib/fluent/plugin/formatter_ltsv.rb +5 -5
  38. data/lib/fluent/plugin/formatter_out_file.rb +3 -3
  39. data/lib/fluent/plugin/formatter_single_value.rb +2 -2
  40. data/lib/fluent/plugin/formatter_tsv.rb +2 -2
  41. data/lib/fluent/plugin/in_http.rb +24 -3
  42. data/lib/fluent/plugin/in_monitor_agent.rb +1 -1
  43. data/lib/fluent/plugin/in_tail.rb +129 -41
  44. data/lib/fluent/plugin/in_tail/position_file.rb +53 -14
  45. data/lib/fluent/plugin/in_tcp.rb +1 -0
  46. data/lib/fluent/plugin/out_copy.rb +18 -5
  47. data/lib/fluent/plugin/out_exec_filter.rb +3 -3
  48. data/lib/fluent/plugin/out_forward.rb +61 -28
  49. data/lib/fluent/plugin/out_http.rb +9 -2
  50. data/lib/fluent/plugin/output.rb +18 -10
  51. data/lib/fluent/plugin/parser_csv.rb +2 -2
  52. data/lib/fluent/plugin/parser_syslog.rb +2 -2
  53. data/lib/fluent/plugin/storage_local.rb +4 -4
  54. data/lib/fluent/plugin_helper/http_server/compat/server.rb +1 -1
  55. data/lib/fluent/plugin_helper/inject.rb +4 -2
  56. data/lib/fluent/plugin_helper/retry_state.rb +4 -0
  57. data/lib/fluent/plugin_helper/server.rb +4 -2
  58. data/lib/fluent/plugin_helper/socket_option.rb +2 -2
  59. data/lib/fluent/supervisor.rb +153 -47
  60. data/lib/fluent/system_config.rb +2 -1
  61. data/lib/fluent/time.rb +58 -1
  62. data/lib/fluent/version.rb +1 -1
  63. data/lib/fluent/winsvc.rb +22 -4
  64. data/templates/new_gem/fluent-plugin.gemspec.erb +3 -3
  65. data/templates/plugin_config_formatter/param.md-table.erb +10 -0
  66. data/test/command/test_cap_ctl.rb +100 -0
  67. data/test/command/test_ctl.rb +57 -0
  68. data/test/command/test_fluentd.rb +38 -0
  69. data/test/command/test_plugin_config_formatter.rb +124 -2
  70. data/test/config/test_configurable.rb +1 -1
  71. data/test/plugin/in_tail/test_position_file.rb +100 -26
  72. data/test/plugin/test_file_wrapper.rb +105 -0
  73. data/test/plugin/test_in_exec.rb +1 -1
  74. data/test/plugin/test_in_http.rb +25 -0
  75. data/test/plugin/test_in_tail.rb +503 -42
  76. data/test/plugin/test_out_copy.rb +87 -0
  77. data/test/plugin/test_out_forward.rb +94 -6
  78. data/test/plugin/test_out_http.rb +20 -1
  79. data/test/plugin/test_output.rb +15 -3
  80. data/test/plugin/test_output_as_buffered_backup.rb +2 -0
  81. data/test/plugin/test_parser_csv.rb +14 -0
  82. data/test/plugin/test_parser_syslog.rb +16 -2
  83. data/test/plugin/test_sd_file.rb +1 -1
  84. data/test/plugin_helper/service_discovery/test_manager.rb +1 -1
  85. data/test/plugin_helper/test_child_process.rb +5 -2
  86. data/test/plugin_helper/test_http_server_helper.rb +4 -2
  87. data/test/plugin_helper/test_inject.rb +29 -0
  88. data/test/plugin_helper/test_server.rb +26 -7
  89. data/test/test_capability.rb +74 -0
  90. data/test/test_event.rb +16 -0
  91. data/test/test_formatter.rb +30 -0
  92. data/test/test_output.rb +2 -2
  93. data/test/test_supervisor.rb +133 -10
  94. data/test/test_time_parser.rb +109 -0
  95. metadata +85 -31
  96. data/.travis.yml +0 -57
  97. data/appveyor.yml +0 -28
@@ -228,4 +228,113 @@ class TimeParserTest < ::Test::Unit::TestCase
228
228
  assert_equal_event_time(time, parser.parse("#{time.sec}.#{time.nsec}"))
229
229
  end
230
230
  end
231
+
232
+ sub_test_case 'MixedTimeParser fallback' do
233
+ class DummyForTimeParser
234
+ include Fluent::Configurable
235
+ include Fluent::TimeMixin::Parser
236
+ end
237
+
238
+ test 'no time_format_fallbacks failure' do
239
+ i = DummyForTimeParser.new
240
+ assert_raise(Fluent::ConfigError.new("time_type is :mixed but time_format and time_format_fallbacks is empty.")) do
241
+ i.configure(config_element('parse', '', {'time_type' => 'mixed'}))
242
+ end
243
+ end
244
+
245
+ test 'fallback time format failure' do
246
+ i = DummyForTimeParser.new
247
+ i.configure(config_element('parse', '',
248
+ {'time_type' => 'mixed',
249
+ 'time_format_fallbacks' => ['%iso8601']}))
250
+ parser = i.time_parser_create
251
+ assert_raise(Fluent::TimeParser::TimeParseError.new("invalid time format: value = INVALID, even though fallbacks: Fluent::TimeParser")) do
252
+ parser.parse("INVALID")
253
+ end
254
+ end
255
+
256
+ test 'primary format is unixtime, secondary %iso8601 is used' do
257
+ i = DummyForTimeParser.new
258
+ i.configure(config_element('parse', '',
259
+ {'time_type' => 'mixed',
260
+ 'time_format' => 'unixtime',
261
+ 'time_format_fallbacks' => ['%iso8601']}))
262
+ parser = i.time_parser_create
263
+ time = event_time('2021-01-01T12:00:00+0900')
264
+ assert_equal_event_time(time, parser.parse('2021-01-01T12:00:00+0900'))
265
+ end
266
+
267
+ test 'primary format is %iso8601, secondary unixtime is used' do
268
+ i = DummyForTimeParser.new
269
+ i.configure(config_element('parse', '',
270
+ {'time_type' => 'mixed',
271
+ 'time_format' => '%iso8601',
272
+ 'time_format_fallbacks' => ['unixtime']}))
273
+ parser = i.time_parser_create
274
+ time = event_time('2021-01-01T12:00:00+0900')
275
+ assert_equal_event_time(time, parser.parse("#{time.sec}"))
276
+ end
277
+
278
+ test 'primary format is %iso8601, no secondary is used' do
279
+ i = DummyForTimeParser.new
280
+ i.configure(config_element('parse', '',
281
+ {'time_type' => 'mixed',
282
+ 'time_format' => '%iso8601'}))
283
+ parser = i.time_parser_create
284
+ time = event_time('2021-01-01T12:00:00+0900')
285
+ assert_equal_event_time(time, parser.parse("2021-01-01T12:00:00+0900"))
286
+ end
287
+
288
+ test 'primary format is unixtime, no secondary is used' do
289
+ i = DummyForTimeParser.new
290
+ i.configure(config_element('parse', '',
291
+ {'time_type' => 'mixed',
292
+ 'time_format' => 'unixtime'}))
293
+ parser = i.time_parser_create
294
+ time = event_time('2021-01-01T12:00:00+0900')
295
+ assert_equal_event_time(time, parser.parse("#{time.sec}"))
296
+ end
297
+
298
+ test 'primary format is %iso8601, raise error because of no appropriate secondary' do
299
+ i = DummyForTimeParser.new
300
+ i.configure(config_element('parse', '',
301
+ {'time_type' => 'mixed',
302
+ 'time_format' => '%iso8601'}))
303
+ parser = i.time_parser_create
304
+ time = event_time('2021-01-01T12:00:00+0900')
305
+ assert_raise("Fluent::TimeParser::TimeParseError: invalid time format: value = #{time.sec}, even though fallbacks: Fluent::TimeParser") do
306
+ parser.parse("#{time.sec}")
307
+ end
308
+ end
309
+
310
+ test 'primary format is unixtime, raise error because of no appropriate secondary' do
311
+ i = DummyForTimeParser.new
312
+ i.configure(config_element('parse', '',
313
+ {'time_type' => 'mixed',
314
+ 'time_format' => 'unixtime'}))
315
+ parser = i.time_parser_create
316
+ time = event_time('2021-01-01T12:00:00+0900')
317
+ assert_raise("Fluent::TimeParser::TimeParseError: invalid time format: value = #{time}, even though fallbacks: Fluent::NumericTimeParser") do
318
+ parser.parse("2021-01-01T12:00:00+0900")
319
+ end
320
+ end
321
+
322
+ test 'fallback to unixtime' do
323
+ i = DummyForTimeParser.new
324
+ i.configure(config_element('parse', '', {'time_type' => 'mixed',
325
+ 'time_format_fallbacks' => ['%iso8601', 'unixtime']}))
326
+ parser = i.time_parser_create
327
+ time = event_time('2021-01-01T12:00:00+0900')
328
+ assert_equal_event_time(Fluent::EventTime.new(time.to_i), parser.parse("#{time.sec}"))
329
+ end
330
+
331
+ test 'fallback to %iso8601' do
332
+ i = DummyForTimeParser.new
333
+ i.configure(config_element('parse', '', {'time_type' => 'mixed',
334
+ 'time_format_fallbacks' => ['unixtime', '%iso8601']}))
335
+ parser = i.time_parser_create
336
+ time = event_time('2021-01-01T12:00:00+0900')
337
+ assert_equal_event_time(time, parser.parse('2021-01-01T12:00:00+0900'))
338
+ end
339
+ end
231
340
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluentd
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.5
4
+ version: 1.12.4
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - Sadayuki Furuhashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-06 00:00:00.000000000 Z
11
+ date: 2021-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: msgpack
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -172,20 +186,60 @@ dependencies:
172
186
  - - "<"
173
187
  - !ruby/object:Gem::Version
174
188
  version: 1.0.0
189
+ - !ruby/object:Gem::Dependency
190
+ name: webrick
191
+ requirement: !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - ">="
194
+ - !ruby/object:Gem::Version
195
+ version: 1.4.2
196
+ - - "<"
197
+ - !ruby/object:Gem::Version
198
+ version: 1.8.0
199
+ type: :runtime
200
+ prerelease: false
201
+ version_requirements: !ruby/object:Gem::Requirement
202
+ requirements:
203
+ - - ">="
204
+ - !ruby/object:Gem::Version
205
+ version: 1.4.2
206
+ - - "<"
207
+ - !ruby/object:Gem::Version
208
+ version: 1.8.0
209
+ - !ruby/object:Gem::Dependency
210
+ name: win32-api
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '1.10'
216
+ - - "<"
217
+ - !ruby/object:Gem::Version
218
+ version: 2.0.0
219
+ type: :runtime
220
+ prerelease: false
221
+ version_requirements: !ruby/object:Gem::Requirement
222
+ requirements:
223
+ - - ">="
224
+ - !ruby/object:Gem::Version
225
+ version: '1.10'
226
+ - - "<"
227
+ - !ruby/object:Gem::Version
228
+ version: 2.0.0
175
229
  - !ruby/object:Gem::Dependency
176
230
  name: win32-service
177
231
  requirement: !ruby/object:Gem::Requirement
178
232
  requirements:
179
233
  - - "~>"
180
234
  - !ruby/object:Gem::Version
181
- version: 2.1.5
235
+ version: 2.2.0
182
236
  type: :runtime
183
237
  prerelease: false
184
238
  version_requirements: !ruby/object:Gem::Requirement
185
239
  requirements:
186
240
  - - "~>"
187
241
  - !ruby/object:Gem::Version
188
- version: 2.1.5
242
+ version: 2.2.0
189
243
  - !ruby/object:Gem::Dependency
190
244
  name: win32-ipc
191
245
  requirement: !ruby/object:Gem::Requirement
@@ -304,14 +358,14 @@ dependencies:
304
358
  requirements:
305
359
  - - "~>"
306
360
  - !ruby/object:Gem::Version
307
- version: '1.0'
361
+ version: '3.0'
308
362
  type: :development
309
363
  prerelease: false
310
364
  version_requirements: !ruby/object:Gem::Requirement
311
365
  requirements:
312
366
  - - "~>"
313
367
  - !ruby/object:Gem::Version
314
- version: '1.0'
368
+ version: '3.0'
315
369
  - !ruby/object:Gem::Dependency
316
370
  name: timecop
317
371
  requirement: !ruby/object:Gem::Requirement
@@ -374,40 +428,20 @@ dependencies:
374
428
  - - "<"
375
429
  - !ruby/object:Gem::Version
376
430
  version: '4'
377
- - !ruby/object:Gem::Dependency
378
- name: ext_monitor
379
- requirement: !ruby/object:Gem::Requirement
380
- requirements:
381
- - - ">="
382
- - !ruby/object:Gem::Version
383
- version: 0.1.2
384
- - - "<"
385
- - !ruby/object:Gem::Version
386
- version: '0.2'
387
- type: :development
388
- prerelease: false
389
- version_requirements: !ruby/object:Gem::Requirement
390
- requirements:
391
- - - ">="
392
- - !ruby/object:Gem::Version
393
- version: 0.1.2
394
- - - "<"
395
- - !ruby/object:Gem::Version
396
- version: '0.2'
397
431
  - !ruby/object:Gem::Dependency
398
432
  name: async-http
399
433
  requirement: !ruby/object:Gem::Requirement
400
434
  requirements:
401
435
  - - ">="
402
436
  - !ruby/object:Gem::Version
403
- version: '0'
437
+ version: 0.50.0
404
438
  type: :development
405
439
  prerelease: false
406
440
  version_requirements: !ruby/object:Gem::Requirement
407
441
  requirements:
408
442
  - - ">="
409
443
  - !ruby/object:Gem::Version
410
- version: '0'
444
+ version: 0.50.0
411
445
  description: Fluentd is an open source data collector designed to scale and simplify
412
446
  log management. It can collect, process and ship many kinds of data in near real-time.
413
447
  email:
@@ -415,7 +449,9 @@ email:
415
449
  executables:
416
450
  - fluent-binlog-reader
417
451
  - fluent-ca-generate
452
+ - fluent-cap-ctl
418
453
  - fluent-cat
454
+ - fluent-ctl
419
455
  - fluent-debug
420
456
  - fluent-gem
421
457
  - fluent-plugin-config-format
@@ -424,15 +460,20 @@ executables:
424
460
  extensions: []
425
461
  extra_rdoc_files: []
426
462
  files:
463
+ - ".deepsource.toml"
427
464
  - ".drone.yml"
428
465
  - ".github/ISSUE_TEMPLATE.md"
429
466
  - ".github/ISSUE_TEMPLATE/bug_report.md"
467
+ - ".github/ISSUE_TEMPLATE/config.yml"
430
468
  - ".github/ISSUE_TEMPLATE/feature_request.md"
431
469
  - ".github/PULL_REQUEST_TEMPLATE.md"
432
470
  - ".github/workflows/issue-auto-closer.yml"
471
+ - ".github/workflows/linux-test.yaml"
472
+ - ".github/workflows/macos-test.yaml"
473
+ - ".github/workflows/stale-actions.yml"
474
+ - ".github/workflows/windows-test.yaml"
433
475
  - ".gitignore"
434
476
  - ".gitlab-ci.yml"
435
- - ".travis.yml"
436
477
  - ADOPTERS.md
437
478
  - AUTHORS
438
479
  - CHANGELOG.md
@@ -444,10 +485,11 @@ files:
444
485
  - MAINTAINERS.md
445
486
  - README.md
446
487
  - Rakefile
447
- - appveyor.yml
448
488
  - bin/fluent-binlog-reader
449
489
  - bin/fluent-ca-generate
490
+ - bin/fluent-cap-ctl
450
491
  - bin/fluent-cat
492
+ - bin/fluent-ctl
451
493
  - bin/fluent-debug
452
494
  - bin/fluent-gem
453
495
  - bin/fluent-plugin-config-format
@@ -495,11 +537,14 @@ files:
495
537
  - fluent.conf
496
538
  - fluentd.gemspec
497
539
  - lib/fluent/agent.rb
540
+ - lib/fluent/capability.rb
498
541
  - lib/fluent/clock.rb
499
542
  - lib/fluent/command/binlog_reader.rb
500
543
  - lib/fluent/command/bundler_injection.rb
501
544
  - lib/fluent/command/ca_generate.rb
545
+ - lib/fluent/command/cap_ctl.rb
502
546
  - lib/fluent/command/cat.rb
547
+ - lib/fluent/command/ctl.rb
503
548
  - lib/fluent/command/debug.rb
504
549
  - lib/fluent/command/fluentd.rb
505
550
  - lib/fluent/command/plugin_config_formatter.rb
@@ -741,10 +786,13 @@ files:
741
786
  - templates/new_gem/test/plugin/test_output.rb.erb
742
787
  - templates/new_gem/test/plugin/test_parser.rb.erb
743
788
  - templates/plugin_config_formatter/param.md-compact.erb
789
+ - templates/plugin_config_formatter/param.md-table.erb
744
790
  - templates/plugin_config_formatter/param.md.erb
745
791
  - templates/plugin_config_formatter/section.md.erb
746
792
  - test/command/test_binlog_reader.rb
747
793
  - test/command/test_ca_generate.rb
794
+ - test/command/test_cap_ctl.rb
795
+ - test/command/test_ctl.rb
748
796
  - test/command/test_fluentd.rb
749
797
  - test/command/test_plugin_config_formatter.rb
750
798
  - test/command/test_plugin_generator.rb
@@ -802,6 +850,7 @@ files:
802
850
  - test/plugin/test_buffer_memory_chunk.rb
803
851
  - test/plugin/test_compressable.rb
804
852
  - test/plugin/test_file_util.rb
853
+ - test/plugin/test_file_wrapper.rb
805
854
  - test/plugin/test_filter.rb
806
855
  - test/plugin/test_filter_grep.rb
807
856
  - test/plugin/test_filter_parser.rb
@@ -921,6 +970,7 @@ files:
921
970
  - test/scripts/fluent/plugin/out_test.rb
922
971
  - test/scripts/fluent/plugin/out_test2.rb
923
972
  - test/scripts/fluent/plugin/parser_known.rb
973
+ - test/test_capability.rb
924
974
  - test/test_clock.rb
925
975
  - test/test_config.rb
926
976
  - test/test_configdsl.rb
@@ -972,13 +1022,15 @@ required_rubygems_version: !ruby/object:Gem::Requirement
972
1022
  - !ruby/object:Gem::Version
973
1023
  version: '0'
974
1024
  requirements: []
975
- rubygems_version: 3.0.3
1025
+ rubygems_version: 3.2.5
976
1026
  signing_key:
977
1027
  specification_version: 4
978
1028
  summary: Fluentd event collector
979
1029
  test_files:
980
1030
  - test/command/test_binlog_reader.rb
981
1031
  - test/command/test_ca_generate.rb
1032
+ - test/command/test_cap_ctl.rb
1033
+ - test/command/test_ctl.rb
982
1034
  - test/command/test_fluentd.rb
983
1035
  - test/command/test_plugin_config_formatter.rb
984
1036
  - test/command/test_plugin_generator.rb
@@ -1036,6 +1088,7 @@ test_files:
1036
1088
  - test/plugin/test_buffer_memory_chunk.rb
1037
1089
  - test/plugin/test_compressable.rb
1038
1090
  - test/plugin/test_file_util.rb
1091
+ - test/plugin/test_file_wrapper.rb
1039
1092
  - test/plugin/test_filter.rb
1040
1093
  - test/plugin/test_filter_grep.rb
1041
1094
  - test/plugin/test_filter_parser.rb
@@ -1155,6 +1208,7 @@ test_files:
1155
1208
  - test/scripts/fluent/plugin/out_test.rb
1156
1209
  - test/scripts/fluent/plugin/out_test2.rb
1157
1210
  - test/scripts/fluent/plugin/parser_known.rb
1211
+ - test/test_capability.rb
1158
1212
  - test/test_clock.rb
1159
1213
  - test/test_config.rb
1160
1214
  - test/test_configdsl.rb
data/.travis.yml DELETED
@@ -1,57 +0,0 @@
1
- language: ruby
2
- cache: bundler
3
-
4
- # script: bundle exec rake test TESTOPTS=-v
5
-
6
- # http://rubies.travis-ci.org/
7
- # See here for osx_image -> OSX versions: https://docs.travis-ci.com/user/languages/objective-c
8
- matrix:
9
- include:
10
- - rvm: 2.4.9
11
- os: linux
12
- - rvm: 2.4.9
13
- os: linux-ppc64le
14
- - rvm: 2.5.7
15
- os: linux
16
- - rvm: 2.5.7
17
- os: linux
18
- arch: s390x
19
- dist: xenial
20
- - rvm: 2.6.5
21
- os: linux
22
- - rvm: 2.7.0
23
- os: linux
24
- - rvm: ruby-head
25
- os: linux
26
- - rvm: ruby-head
27
- os: linux-ppc64le
28
- - rvm: 2.4.6
29
- os: osx
30
- osx_image: xcode8.3 # OSX 10.12
31
- - rvm: ruby-head
32
- os: osx
33
- osx_image: xcode8.3 # OSX 10.12
34
- allow_failures:
35
- - rvm: 2.4.6
36
- os: osx
37
- osx_image: xcode8.3
38
- - rvm: 2.5.7
39
- os: linux
40
- arch: s390x
41
- dist: xenial
42
- - rvm: ruby-head
43
-
44
- branches:
45
- only:
46
- - master
47
-
48
- before_install:
49
- - gem update --system=3.1.2
50
-
51
- sudo: false
52
- dist: trusty # for TLSv1.2 support
53
-
54
- addons:
55
- apt:
56
- packages:
57
- - libgmp3-dev
data/appveyor.yml DELETED
@@ -1,28 +0,0 @@
1
- version: '{build}'
2
-
3
- # init:
4
- # - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
5
-
6
- install:
7
- - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
8
- - ruby --version
9
- - gem --version
10
- - ridk.cmd exec bundle install
11
- build: off
12
- test_script:
13
- - bundle exec rake test
14
- # - bundle exec rake test TESTOPTS=-v
15
-
16
- branches:
17
- only:
18
- - master
19
-
20
- # https://www.appveyor.com/docs/installed-software/#ruby
21
- environment:
22
- matrix:
23
- - ruby_version: "26-x64"
24
- - ruby_version: "26"
25
- - ruby_version: "25-x64"
26
- - ruby_version: "25"
27
- - ruby_version: "24-x64"
28
- - ruby_version: "24"