sudo: false
language: ruby
cache:
  directories:
  - vendor/bundle
rvm:
- '2.3.0'
- '2.2'
- '2.1'
env:
- REDMINE_VERSION=3.2.1
- REDMINE_VERSION=3.1.4
- REDMINE_VERSION=2.6.10
- REDMINE_VERSION=master
matrix:
  allow_failures:
  - env: REDMINE_VERSION=master
branches:
  except:
  - debian
install:
- export BUNDLE_GEMFILE=""
- export BUNDLE_PATH="$(pwd)/vendor/bundle"
- ./redmine update
- bundle install --jobs=3 --retry=3 --path $BUNDLE_PATH
script:
- bundle exec rake spec

sudo: false
language: ruby
cache:
  directories:
  - vendor/bundle
rvm:
- '2.3.0'
- '2.2'
- '2.1'
env:
- REDMINE_VERSION=3.2.1
- REDMINE_VERSION=3.1.4
- REDMINE_VERSION=2.6.10
- REDMINE_VERSION=master
matrix:
  allow_failures:
  - env: REDMINE_VERSION=master
branches:
  except:
  - debian
before_install:
- gem install bundler --pre
install:
- export BUNDLE_GEMFILE=""
- export BUNDLE_PATH="$(pwd)/vendor/bundle"
- ./redmine update
- bundle install --jobs=3 --retry=3 --path $BUNDLE_PATH
script:
- bundle exec rake spec

Install newest bundler on CI to resolve with matching ruby version
Install newest bundler on CI to resolve with matching ruby version
