Stream: cds hooks/committers
Topic: docs / PR #70 Update the Ruby versions that Travis-CI bui...
Github Notifications (Jul 26 2017 at 07:22):
kpshek opened PR #70
from tweak-ruby-version-travisci
to master
Update the Ruby versions that Travis-CI builds use to avoid errors during builds for missing Rubies. Additionally, by specifying just the major and minor version and not the revision (eg, 2.3 instead of 2.3.0), this will allow Travis to use the latest revision/patch during builds.
This should fix the recent Travis-CI build failures:
5.72s$ rvm use 2.1.0 --install --binary --fuzzy ruby-2.1.0 is not installed - installing. Searching for binary rubies, this might take some time. Requested binary installation but no rubies are available to download, consider skipping --binary flag. Gemset '' does not exist, 'rvm ruby-2.1.0 do rvm gemset create ' first, or append '--create'. The command "rvm use 2.1.0 --install --binary --fuzzy" failed and exited with 2 during . Your build has been stopped.
Github Notifications (Jul 26 2017 at 07:28):
kpshek synchronized PR #70
Github Notifications (Jul 26 2017 at 07:36):
For some reason, the Travis CI builds started failing as the Travis build machines could not find a precompiled Ruby 2.1.0. In researching this error, I found that the best practice is to reference Ruby versions up to the minor release (eg, 2.1 instead of 2.1.0) and let Travis choose the latest Ruby on that minor release.
Previously, we were building with both 2.0.0 and 2.1.0. This pull request changes that to simply 2.3 (so 2.3.x). I tried also building with 2.4 (so 2.4.x) but version of the json gem we're pulling in doesn't support Ruby 2.4 (see https://github.com/flori/json/issues/303).
I'm going to merge these changes into master and sync all branches so that the Travis CI builds start passing again.
Github Notifications (Jul 26 2017 at 07:36):
kpshek closed PR #70
Last updated: Apr 12 2022 at 19:14 UTC