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 travis ci suite #38

Merged
merged 9 commits into from Dec 9, 2016
Merged

Conversation

sfgeorge
Copy link
Member

@sfgeorge sfgeorge commented Dec 9, 2016

Resolve a number of test-related issues regarding development_dependencies and testing environment setup:

Development_dependency fixes:

  • [SPEC] Travis-CI: Ensure that coveralls dependencies are still Ruby 1.9 (JRuby 1.7) compatible
    Note: term-ansicolor and tins (sub-dependencies of coveralls) broke SemVer by cutting off ruby 1.9 support apart from a major release
  • [SPEC] Travis-CI: Ensure that guard dependencies are still Ruby 1.9 (JRuby 1.7) compatible
    Similarly, the listen sub-dependency of guard broke SemVer in this regard as well.
  • Hold rake back to < 11.0 for rspec-core's sake
    Once we upgrade to rspec 3.0+, we can lift this restriction

Environment setup fixes:

  • Fix ruby-1.9.3 json dependency issue by using latest stable version of Bundler

Other changes:

  • Do not allow rspec-2.7 - Our usage of the rspec api was beyond 2.7
  • Test more versions of cruby, jruby and Rubinius
  • Switch to container environment - not because we have to, but because we can
  • Testing all permutations between (jruby-1.7, jruby-9.0.4.0, jruby-head) X (openjdk7, oraclejdk7, oraclejdk8)
    Let me know if this is overkill.

Known and expected issues

  • All flavors of rubinius are still failing. Based on the install failures for rbx-2 and rbx-3, this appears to be a temporary issue with unavailability of rubinius binaries or travis's consumption of them. Note that the following attempts to pull Rubinius as a binary utterly fail during setup:
    • rvm use rbx-2 --install --binary --fuzzy
    • rvm use rbx-3 --install --binary --fuzzy
  • Because the Rubinius install issue appears to be temporary, I have not tucked them under the "allow_failures" section, though the temptation to have a fully passing build in the immediate was great.

….9 (JRuby 1.7) compatible

Note: term-ansicolor and tins (sub-dependencies of coveralls) do not follow SemVer
…JRuby 1.7) compatible

Note: listen (sub-dependency of guard) does not follow SemVer
NoMethodError: undefined method `last_comment' for #<Rake::Application:0x464e808b>
~/.rvm/gems/jruby-1.7.19/gems/rspec-core-2.99.2/lib/rspec/core/rake_task.rb:143:in `initialize'
~/Code/ruby_speech/Rakefile:7:in `(root)'
@@ -1,4 +1,9 @@
require 'ruby_speech'
# encoding: utf-8

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing frozen string literal comment.

@coveralls
Copy link

coveralls commented Dec 9, 2016

Coverage Status

Coverage increased (+5.0%) to 98.716% when pulling 261c32e on sfgeorge:feature/fix-travis into e76bd32 on benlangfeld:develop.

@sfgeorge
Copy link
Member Author

sfgeorge commented Dec 9, 2016

Awesome, thank you Ben!! =)

@benlangfeld
Copy link
Member

benlangfeld commented Dec 9, 2016

Since we can't trust rbx version numbers, I'm happy to make its failure allowed. No-one sane actually uses it anyway.

@sfgeorge
Copy link
Member Author

sfgeorge commented Dec 9, 2016

Sounds good, marking them as allowed and hoping for a green test suite to come through! =)

@coveralls
Copy link

coveralls commented Dec 9, 2016

Coverage Status

Coverage increased (+5.0%) to 98.716% when pulling 13b0dd8 on sfgeorge:feature/fix-travis into e76bd32 on benlangfeld:develop.

@sfgeorge
Copy link
Member Author

sfgeorge commented Dec 9, 2016

Almost forgot... shall I also include the following key from the adhearsion .travis.yml?

notifications:
  slack:
    secure: Y7EqF/9FY7mca63c1DM7kEr34fNtFclWXJj9vLqVQJwR3rCDZUZSD8DlqHJDwE6KRCCDsSkyV4lihCim+GEM28CRcJir0AEUJhXHvIMckjH7n38W9OGN26RuJGZTapjgCSMOBeq0YpSe6dAnZeRpZRJxsTFtP5ptLD5RRjIMzZM=

@coveralls
Copy link

coveralls commented Dec 9, 2016

Coverage Status

Coverage increased (+5.0%) to 98.716% when pulling 261ec61 on sfgeorge:feature/fix-travis into e76bd32 on benlangfeld:develop.

@benlangfeld benlangfeld merged commit 0c4f434 into adhearsion:develop Dec 9, 2016
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

4 participants