active_model_serializers/.travis.yml
Benjamin Fleischer bba131759a 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.
```
2017-11-02 11:25:07 -05:00

36 lines
619 B
YAML

language: ruby
sudo: false
rvm:
# - 1.8.7
# - ree
# - jruby-18mode
# - 1.9.2
# - 1.9.3
- jruby-19mode
- 2.0.0
- 2.1
- 2.2
install: bundle install --path=vendor/bundle --retry=3 --jobs=3
cache:
directories:
- vendor/bundle
script:
- bundle exec rake ci
env:
# - "RAILS_VERSION=3.0"
# - "RAILS_VERSION=3.1"
# - "RAILS_VERSION=3.2"
- "RAILS_VERSION=4.0"
- "RAILS_VERSION=4.1"
- "RAILS_VERSION=4.2"
# - "RAILS_VERSION=master"
matrix:
exclude:
- rvm: jruby-19mode
env: "RAILS_VERSION=4.0"
# - rvm: 1.8.7
# - ree
# - jruby-18mode
# - rvm: 1.9.2
fast_finish: true