sudo: false
cache: bundler
language: ruby
before_script:
  - 'echo ''gem: --no-ri --no-rdoc'' > ~/.gemrc' # skip installing docs for gems
before_install:
  - gem install bundler -v="1.8.0" # Minimum version of bundler required
bundler_args: --without development
script: 'bundle exec rake test'
services:
  - mongodb
  - redis-server
rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.0
  - 2.2.0
  - jruby-19mode
env:
  - DB=mongodb
  - DB=redis
  - DB=active_record
gemfile:
  - gemfiles/rails32.gemfile
  - gemfiles/rails4.gemfile
  - gemfiles/rails41.gemfile
  - gemfiles/rails42.gemfile
  - gemfiles/rails42_protected_attributes.gemfile

sudo: false
cache: bundler
language: ruby
before_script:
  - 'echo ''gem: --no-ri --no-rdoc'' > ~/.gemrc' # skip installing docs for gems
before_install:
  - gem install bundler -v="1.8.0" # Minimum version of bundler required
bundler_args: --without development
script: 'bundle exec rake test'
services:
  - mongodb
  - redis-server
rvm:
  - 2.0.0
  - 2.1.0
  - 2.2.0
  - jruby-19mode
env:
  - DB=mongodb
  - DB=redis
  - DB=active_record
gemfile:
  - gemfiles/rails32.gemfile
  - gemfiles/rails4.gemfile
  - gemfiles/rails41.gemfile
  - gemfiles/rails42.gemfile
  - gemfiles/rails42_protected_attributes.gemfile

Remove testing support for ruby 1.9.3.
Remove testing support for ruby 1.9.3.

Reached end of life on February 23, 2015. Vanity shouldn't run on
Ruby versions that don't receive security patches.

See:
https://www.ruby-lang.org/en/news/2014/01/10/ruby-1-9-3-will-end-on-2015/
