rvm:
  - 1.9.3
  - 2.0.0

# whitelist
branches:
  only:
    - master

gemfile:
  - gemfiles/capybara_1_1.gemfile
  - gemfiles/rails_4_2.gemfile
  - gemfiles/rails_4_1.gemfile
  - gemfiles/rails_4_0.gemfile
  - gemfiles/rails_3_2.gemfile
  - gemfiles/rails_3_1.gemfile
  - gemfiles/rails_3_0.gemfile

matrix:
  exclude:
    - rvm: 2.0.0
      gemfile: gemfiles/capybara_1_1.gemfile
    - rvm: 2.0.0
      gemfile: gemfiles/rails_3_1.gemfile
    - rvm: 2.0.0
      gemfile: gemfiles/rails_3_0.gemfile

# Needed for selenium browser
before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"

notifications:
  email:
    - cukes-devs@googlegroups.com
  irc:
    - "irc.freenode.org#cucumber"

rvm:
  - 1.9.3
  - 2.0.0
  - 2.2.1

# whitelist
branches:
  only:
    - master

gemfile:
  - gemfiles/capybara_1_1.gemfile
  - gemfiles/rails_4_2.gemfile
  - gemfiles/rails_4_1.gemfile
  - gemfiles/rails_4_0.gemfile
  - gemfiles/rails_3_2.gemfile
  - gemfiles/rails_3_1.gemfile
  - gemfiles/rails_3_0.gemfile

matrix:
  exclude:
    - rvm: 2.0.0
      gemfile: gemfiles/capybara_1_1.gemfile
    - rvm: 2.0.0
      gemfile: gemfiles/rails_3_1.gemfile
    - rvm: 2.0.0
      gemfile: gemfiles/rails_3_0.gemfile
    - rvm: 2.2.1
      gemfile: gemfiles/capybara_1_1.gemfile
    - rvm: 2.2.1
      gemfile: gemfiles/rails_3_1.gemfile
    - rvm: 2.2.1
      gemfile: gemfiles/rails_3_0.gemfile

# Needed for selenium browser
before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"

notifications:
  email:
    - cukes-devs@googlegroups.com
  irc:
    - "irc.freenode.org#cucumber"

Add ruby 2.1.0 to build matrix
Add ruby 2.1.0 to build matrix
