---
language: ruby
services: postgresql
rvm:
- 1.9.3
- 2.0.0
- jruby-18mode
- jruby-19mode
env:
- REDMINE_VERSION=2.1.6
- REDMINE_VERSION=2.2.4
- REDMINE_VERSION=2.3.2
- REDMINE_VERSION=master
matrix:
  allow_failures:
  - env: REDMINE_VERSION=master
  exclude:
  - rvm: 2.0.0
    env: REDMINE_VERSION=2.2.4
  - rvm: 2.0.0
    env: REDMINE_VERSION=2.1.6
install:
- unset BUNDLE_GEMFILE
- rake redmine:setup
script: rake spec

---
language: ruby
services: postgresql
rvm:
- 1.9.3
- 2.0.0
- jruby-19mode
env:
- REDMINE_VERSION=2.1.6
- REDMINE_VERSION=2.2.4
- REDMINE_VERSION=2.3.2
- REDMINE_VERSION=master
matrix:
  allow_failures:
  - env: REDMINE_VERSION=master
  exclude:
  - rvm: 2.0.0
    env: REDMINE_VERSION=2.2.4
  - rvm: 2.0.0
    env: REDMINE_VERSION=2.1.6
install:
- unset BUNDLE_GEMFILE
- rake redmine:setup
script: rake spec

Drop JRuby 1.8 mode as capybara requires 1.9.
Drop JRuby 1.8 mode as capybara requires 1.9.
