---
language: ruby
rvm:
- 1.9.3
- 2.0.0
env:
- REDMINE_VERSION=2.2.4
- REDMINE_VERSION=2.3.1
matrix:
  exclude:
  - rvm: 2.0.0
    env: REDMINE_VERSION=2.2.4
install: rake redmine:setup
script: rake spec

---
language: ruby
rvm:
- 1.9.3
- 2.0.0
env:
- REDMINE_VERSION=2.1.6
- REDMINE_VERSION=2.2.4
- REDMINE_VERSION=2.3.1
- 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: rake redmine:setup
script: rake spec

Add redmine master and 2.1.6 to CI.
Add redmine master and 2.1.6 to CI.