language: ruby
rvm:
  - 1.8.7
  - 1.9.3
  - 2.0.0
gemfile:
  - ci/Gemfile.rails-3.0.x
  - ci/Gemfile.rails-3.1.x
  - ci/Gemfile.rails-3.2.x
  - ci/Gemfile.rails-4.0.x
env:
  - DB=sqlite
  - DB=mysql
before_script:
  - "mysql -e 'create database myapp_test;' >/dev/null"
matrix:
  allow_failures:
    - rvm: 1.8.7
      gemfile: ci/Gemfile.rails-4.0.x
    - rvm: 1.9.3
      gemfile: ci/Gemfile.rails-4.0.x
    - rvm: 2.0.0
      gemfile: ci/Gemfile.rails-4.0.x

language: ruby
rvm:
  - 1.8.7
  - 1.9.3
  - 2.0.0
gemfile:
  - ci/Gemfile.rails-3.0.x
  - ci/Gemfile.rails-3.1.x
  - ci/Gemfile.rails-3.2.x
  - ci/Gemfile.rails-4.0.x
env:
  - DB=sqlite
  - DB=mysql
before_script:
  - "mysql -e 'create database myapp_test;' >/dev/null"
matrix:
  exclude:
    - rvm: 1.8.7
      gemfile: ci/Gemfile.rails-4.0.x
  allow_failures:
    - gemfile: ci/Gemfile.rails-4.0.x

Exclude Ruby 1.8.7 from testing with Rails 4
Travis: Exclude Ruby 1.8.7 from testing with Rails 4
