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

Add travis #57

Merged
merged 3 commits into from
Nov 9, 2017
Merged

Add travis #57

merged 3 commits into from
Nov 9, 2017

Conversation

lostapathy
Copy link
Collaborator

This PR adds a super basic travis build config and adds a badge to the README.

Before merging, you'll need to tell travis to start watching this project by going to https://travis-ci.org/Empact/roxml

There are currently test failures in the project, I'll try to work through those on separate PRs.

Long term I would like to take ruby-2.1.10 back out of the travis config (since it's no longer supported) but I thought it couldn't hurt to test farther back while bringing this project back up to speed. Bundler doesn't seem to be able to come up with a way to build the project with ruby-2.0 or older, or I would have gone back farther for now.

there are some old tickets referencing 2.1 vs 2.2 behavior, so I'm
locking to old gems just to allow travis to build 2.1 while that's
sorted out.
@lostapathy
Copy link
Collaborator Author

If you want to see what this will do, I set it up on my fork of the repo. See: https://travis-ci.org/lostapathy/roxml/builds

Added conditionals around specs that rely on behavior that is not
present in all ruby versions.  If ruby-2.1 support is dropped in the
future, we need to come back and remove spec/regression_spec.rb as it no
longer applies in ruby-2.2 and later.
@lostapathy
Copy link
Collaborator Author

I added a third commit here that resolves the travis failures. Also Resolves #51.

Up to you whether we support ruby-2.1 (or older) or if we could update the gemspec to require 2.2 or newer. I'm guessing people looking to upgrade this gem are more worried about ruby-2.4 support and less worried about upgrading with old versions of ruby.

@Empact Empact merged commit ff93196 into Empact:master Nov 9, 2017
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.

2 participants