Turn of JRuby CI on Rails 4.0

https://travis-ci.org/rails-api/active_model_serializers/jobs/296314721

```
Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m
jruby: warning: unknown property jruby.cext.enabled
2.7.0
32.06s$ bundle install --path=vendor/bundle --retry=3 --jobs=3
Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m
jruby: warning: unknown property jruby.cext.enabled
Fetching gem metadata from https://rubygems.org/..........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies.........................................................................................................................
Bundler could not find compatible versions for gem "actionpack":
  In Gemfile:
    actionpack (~> 4.0.0) java
    rails (~> 4.0.0) java was resolved to 4.0.0, which depends on
      actionpack (= 4.0.0) java
Bundler could not find compatible versions for gem "activemodel":
  In Gemfile:
    activemodel (~> 4.0.0) java
    active_model_serializers java was resolved to 0.8.4, which depends on
      activemodel (>= 3.0) java
    rails (~> 4.0.0) java was resolved to 4.0.0, which depends on
      activerecord (= 4.0.0) java was resolved to 4.0.0, which depends on
        activemodel (= 4.0.0) java
Bundler could not find compatible versions for gem "activerecord":
  In Gemfile:
    activerecord (~> 4.0.0) java
    rails (~> 4.0.0) java was resolved to 4.0.0, which depends on
      activerecord (= 4.0.0) java
Bundler could not find compatible versions for gem "activesupport":
  In Gemfile:
    activesupport (~> 4.0.0) java
    rails (~> 4.0.0) java was resolved to 4.0.0, which depends on
      activesupport (= 4.0.0) java
Bundler could not find compatible versions for gem "rails":
  In Gemfile:
    rails (~> 4.0.0) java
Could not find gem 'rails (~> 4.0.0)' in any of the sources.
Bundler could not find compatible versions for gem "railties":
  In Gemfile:
    railties (~> 4.0.0) java
    rails (~> 4.0.0) java was resolved to 4.0.0, which depends on
      railties (= 4.0.0) java
Bundler could not find compatible versions for gem "tzinfo":
  In Gemfile:
    rails (~> 4.0.0) java was resolved to 4.0.0, which depends on
      activesupport (= 4.0.0) java was resolved to 4.0.0, which depends on
        tzinfo (~> 0.3.37) java
    tzinfo-data java was resolved to 1.2017.3, which depends on
      tzinfo (>= 1.0.0) java
The command "bundle install --path=vendor/bundle --retry=3 --jobs=3" failed and exited with 6 during .
Your build has been stopped.
```
This commit is contained in:
Benjamin Fleischer 2017-11-02 11:25:07 -05:00
parent c92a08a94a
commit bba131759a

View File

@ -26,6 +26,8 @@ env:
# - "RAILS_VERSION=master"
matrix:
exclude:
- rvm: jruby-19mode
env: "RAILS_VERSION=4.0"
# - rvm: 1.8.7
# - ree
# - jruby-18mode