Skip to content

Commit

Permalink
Fix Travis on JRuby-HEAD using explicit opts
Browse files Browse the repository at this point in the history
See https://travis-ci.org/troessner/reek/jobs/67756300#L297-L307

This is really only an issue on JRUBY-HEAD where cext.enabled property no longer exists.

```ruby
expected: ""
     got: "jruby: warning: unknown property jruby.cext.enabled\njruby: warning: unknown property jruby.cext.enabled\njruby: warning: unknown property jruby.cext.enabled\njruby: warning: unknown property jruby.cext.enabled\n"
(compared using ==)
Diff:
@@ -1 +1,5 @@
+jruby: warning: unknown property jruby.cext.enabled
+jruby: warning: unknown property jruby.cext.enabled
+jruby: warning: unknown property jruby.cext.enabled
+jruby: warning: unknown property jruby.cext.enabled
 (RSpec::Expectations::ExpectationNotMetError)
./features/step_definitions/reek_steps.rb:58:in `/^it reports no errors$/'
features/configuration_loading.feature:29:in `Then it reports no errors'
```

ref: rspec/rspec-dev#115

```ru
  • Loading branch information
bf4 committed Jun 21, 2015
1 parent 927d5ec commit 51eba0d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@ rvm:
- 2.0.0
- 2.1
- 2.2
- jruby-19mode
- rbx-2
- ruby-head
- jruby-head
matrix:
include:
- rvm: jruby-19mode
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false'
- rvm: jruby-head
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false'
allow_failures:
- rvm: jruby-head
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false'
- rvm: ruby-head
fast_finish: true
notifications:
Expand Down

0 comments on commit 51eba0d

Please sign in to comment.