language: ruby
sudo: false
install:
  - ./script/travis_cache download_bundle
  - gem install bundler # use the very latest Bundler
  - bundle install --without development --path=./bundle
  - bundle clean # delete now-outdated gems
  - ./script/travis_cache download_app
  - bundle exec rake setup
  - ./script/travis_cache upload
script:
  - bundle exec rake test_with_coveralls
rvm:
  - 1.9
  - 2.2.3
  - jruby-9.0.4.0
env:
  matrix:
    - RAILS=3.2.22
    - RAILS=4.1.14
    - RAILS=4.2.5
    - RAILS=master
  global:
    - JRUBY_OPTS="-J-Xmx1024m --debug"
matrix:
  fast_finish: true
  exclude:
    - rvm: 1.9
      env: RAILS=master
branches:
  only:
    - master
    - /\A\d-\d-stable\z/
notifications:
  irc:
    channels:
      - irc.freenode.org#activeadmin
    on_success: change
    on_failure: always
    skip_join: true
    template:
      - "(%{branch}/%{commit} by %{author}): %{message} (%{build_url})"

language: ruby
sudo: false
install:
  - ./script/travis_cache download_bundle
  - gem install bundler # use the very latest Bundler
  - bundle install --without development --path=./bundle
  - bundle clean # delete now-outdated gems
  - ./script/travis_cache download_app
  - bundle exec rake setup
  - ./script/travis_cache upload
script:
  - bundle exec rake test_with_coveralls
rvm:
  - 1.9
  - 2.2.3
  - jruby-9.0.4.0
env:
  matrix:
    - RAILS=3.2.22
    - RAILS=4.2.5
    - RAILS=master
  global:
    - JRUBY_OPTS="-J-Xmx1024m --debug"
matrix:
  fast_finish: true
  exclude:
    - rvm: 1.9
      env: RAILS=master
branches:
  only:
    - master
    - /\A\d-\d-stable\z/
notifications:
  irc:
    channels:
      - irc.freenode.org#activeadmin
    on_success: change
    on_failure: always
    skip_join: true
    template:
      - "(%{branch}/%{commit} by %{author}): %{message} (%{build_url})"

Stop testing against Rails 4.1
Stop testing against Rails 4.1

We’re getting this error:

```
undefined method `to_h' for {}:ActionController::Parameters
```

The odd thing is Rails 4.1 on Ruby 2 and JRuby are passing just fine.
It’s only Rails 4.1 on Ruby 1.9 that’s failing.

I don’t think it’s important to run the test suite on Rails 4.1, and
we’ll be dropping support for it soon anyway, so this commit removes it
from Travis.
