branches: master
gemfile:
  - gemfiles/rails30.gemfile
  - gemfiles/rails31.gemfile
  - gemfiles/rails32.gemfile
  - gemfiles/rails40.gemfile
language: ruby
rvm:
  - 1.8.7
  - 1.9.2
  - 1.9.3
  - 2.0.0
before_install:
  - gem update bundler
before_script:
  - unset RAILS_ENV
  - unset RACK_ENV
matrix:
  exclude:
    - gemfile: gemfiles/rails40.gemfile
      rvm: 1.8.7
    - gemfile: gemfiles/rails40.gemfile
      rvm: 1.9.2
  include:
    - gemfile: Gemfile
      rvm: 1.9.3
      env: COVERAGE=true

branches: master
gemfile:
  - gemfiles/rails30.gemfile
  - gemfiles/rails31.gemfile
  - gemfiles/rails32.gemfile
  - gemfiles/rails40.gemfile
language: ruby
rvm:
  - 1.8.7
  - 1.9.2
  - 1.9.3
  - 2.0.0
before_install:
  - gem update bundler
before_script:
  - unset RAILS_ENV
  - unset RACK_ENV
matrix:
  exclude:
    - gemfile: gemfiles/rails40.gemfile
      rvm: 1.8.7
    - gemfile: gemfiles/rails40.gemfile
      rvm: 1.9.2
  include:
    - gemfile: gemfiles/rails32.gemfile
      rvm: 1.9.3
      env: COVERAGE=1

Use a more restrictive gemfile for the coverage test run
Use a more restrictive gemfile for the coverage test run

For some reason, on Travis, installing the bundle for the generic
gemfile takes more than 20 minutes to resolve the dependencies.
