active_model_serializers icon indicating copy to clipboard operation
active_model_serializers copied to clipboard

Adjust TravisCI Ruby matrix

Open wasifhossain opened this issue 5 years ago • 9 comments
trafficstars

Purpose

  • bring back changes that were removed from #2368 unintentionally
  • make travis green

wasifhossain avatar Jan 10 '20 20:01 wasifhossain

slightly different status from travis. lets see if the build is allowed to run this time

image

wasifhossain avatar Jan 10 '20 20:01 wasifhossain

no change in appveyor since last green run, though its now failing for some reason

wasifhossain avatar Jan 10 '20 20:01 wasifhossain

good news is, travis is working again :tada:

bad news is, not sure why simplecov is failing with

RuntimeError cannot change the measuring target during coverage measurement

wasifhossain avatar Feb 18 '20 21:02 wasifhossain

update on simplecov:

0.18.x only allows ruby >= 2.4.

latest version that supports ruby >= 2.1 is 0.17.1. it looks like putting this constraint on the gemspec should overcome the error

spec.add_development_dependency 'simplecov', '~> 0.17.1'

wasifhossain avatar Feb 18 '20 21:02 wasifhossain

simplecov issue resolved :tada:

wasifhossain avatar Feb 18 '20 22:02 wasifhossain

next issue with grape; looks slightly complex

the current bug is caused in grape tests due to rack >= 2.1.0. more info here: https://github.com/ruby-grape/grape/issues/1980

grape 1.3.0 fixes the bug, though with the cost of requiring ruby >= 2.4 :confused:

wasifhossain avatar Feb 18 '20 23:02 wasifhossain

we can use a band-aid solution to have grape tests passed, by restricting rack to <= 2.0.8

wasifhossain avatar Feb 19 '20 00:02 wasifhossain

Travis is looking green (partially) after quite some time. CRuby tests are all passed. JRuby 9.2.x are also passing, though 9.1.x failed due to already existing bundler > 2.

wasifhossain avatar Feb 19 '20 02:02 wasifhossain

Removing bundler >= 2 didn't help either; it still remains (most probably due to rubygems)

image

wasifhossain avatar Feb 19 '20 09:02 wasifhossain

travis ci is dead

bf4 avatar May 17 '23 02:05 bf4