Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TravisCI build #407

Closed
wants to merge 6 commits into from
Closed

Update TravisCI build #407

wants to merge 6 commits into from

Conversation

mvz
Copy link
Contributor

@mvz mvz commented Dec 1, 2019

Builds on newer protobuf versions while not allowing failures.

Follow-up for #406, which made the build for protobuf 3.0.0 green.

@olleolleolle
Copy link

@mvz Does it make sense to rebase this? Does it still work?

@mvz
Copy link
Contributor Author

mvz commented Apr 13, 2020

I don't think much has changed but I'll give it a shot.

@mvz
Copy link
Contributor Author

mvz commented Apr 13, 2020

It looks like there's a problem with pry and pry-byebug versions.

@deivid-rodriguez
Copy link

Yeah.

On ruby 2.3, pry-byebug gets resolved to a version older than the latest (3.7.0) because the latest does not support ruby 2.3. But pry gets resolved to 0.13 which is not supported by pry-byebug 3.7.0, only by the latest version.

Possible solutions:

  • Pin pry to an older version.
  • Drop support for ruby 2.3.

@mvz
Copy link
Contributor Author

mvz commented Apr 13, 2020

It looks like the maintainers of this gem want to still target 2.3 (see #412), so I'll go with the first option.

mvz added 2 commits April 13, 2020 12:11
This does two things:
- Move complex dependency logic out of the gemspec. The gemspec logic is
  only evaluated at build time, so keeping Ruby version dependendent
  logic in there causes different gems to be published depending on the
  source machine.
- Load slightly older pry versions on Ruby 2.3 and lower, so they work
  with the pry-byebug version that supports those older Ruby versions.
@olleolleolle
Copy link

@mvz The rbx-2 needs to run in dist: trusty to even begin. If you're thinking of keeping it.

matrix:
  include:
    - rvm: rbx-2
      dist: trusty

@mvz
Copy link
Contributor Author

mvz commented Apr 13, 2020

I think I'll wait for #406 and perhaps #412 to be merged and then see again which parts of this pull request are still relevant.

@mvz
Copy link
Contributor Author

mvz commented Apr 27, 2022

Closing this since this project no longer uses TravisCI.

@mvz mvz closed this Apr 27, 2022
@mvz mvz deleted the update-build branch April 27, 2022 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants