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

Fix specs for Rails 4 and get Travis CI to pass #12

Merged
merged 1 commit into from
May 8, 2015

Conversation

johnnyshields
Copy link
Contributor

This PR gets Travis CI to pass for Rails 4.

I've added gemfiles for each of Rails versions 3.2, 4.0, 4.1, 4.2. In addition, there's a "master" version but Mongoid currently conflicts so it's set to Rails 4.2 and Mongoid master. I've moved /gemfiles to be /spec/gemfiles.

Rails 3 specs are marked as "allowed failures" since the output HTML format has changed entirely. I've investigated and decided that it's not worth the effort to make both Rails 3 and 4 pass, but at least I've gotten to the point where the Rails 3 env build correctly and we can see the individual specs fail due to format change.

I've also added coveralls as a dev dependency, otherwise Travis fails.

Lastly, Travis CI does not require service: mongodb to pass hence I've removed it.

You can see the passing build here: https://travis-ci.org/johnnyshields/localized_fields/builds/60084925

@johnnyshields
Copy link
Contributor Author

@tiagogodinho please enable Travis CI for PRs to this repository.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 106a094 on johnnyshields:master into 8a8343b on tiagogodinho:master.

I've now added gemfiles for each of Rails versions 3.2, 4.0, 4.1, 4.2. In addition, there's a "master" version but Mongoid currently conflicts so it's set to Rails 4.2 and Mongoid master. I've moved /gemfiles to be /spec/gemfiles.

Rails 3 specs are marked as "allowed failures" since the format has changed entirely. I've investigated and decided that it's not worth the effort to make both Rails 3 and 4 pass, but at least I've gotten to the point where the Rails 3 env build correctly and we can see the individual specs fail due to format change.

I've also added coveralls as a dev dependency, otherwise Travis fails.

Lastly, Travis CI does not require service: mongodb to pass hence I've removed it.
@johnnyshields johnnyshields changed the title Fix specs for Rails 4, add additional version coverage Fix specs for Rails 4 and get Travis CI to pass Apr 26, 2015
@coveralls
Copy link

coveralls commented Apr 26, 2015

Coverage Status

Coverage decreased (-1.9%) to 98.113% when pulling 7d73473 on johnnyshields:master into 8a8343b on tiagogodinho:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 37ca8ff on johnnyshields:master into 8a8343b on tiagogodinho:master.

tiagogodinho added a commit that referenced this pull request May 8, 2015
Fix specs for Rails 4 and get Travis CI to pass
@tiagogodinho tiagogodinho merged commit bacf361 into tiagogodinho:master May 8, 2015
@tiagogodinho
Copy link
Owner

@johnnyshields: Great job. Congratulations.

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.

None yet

3 participants