Ruby >= 2.2.2 required

This commit is contained in:
Karel Picman 2017-08-31 13:44:56 +02:00
parent 9d1a202a7d
commit fe059714e7
3 changed files with 3 additions and 13 deletions

View File

@ -3,7 +3,7 @@ language: ruby
sudo: false
rvm:
- 2.2.2
- 2.3
install: 'echo skip bundle install'

View File

@ -69,7 +69,7 @@ else
end
end
def prepare
ActionDispatch::Reloader.to_prepare do
# Rubyzip configuration
Zip.unicode_names = true
@ -81,13 +81,3 @@ def prepare
Redmine::Activity.register :dmsf_file_revision_accesses, :default => false
Redmine::Activity.register :dmsf_file_revisions
end
if Rails::VERSION::MAJOR >= 5 && Rails::VERSION::MINOR >= 1
ActiveSupport::Reloader.to_prepare do
prepare
end
else
ActionDispatch::Reloader.to_prepare do
prepare
end
end

View File

@ -26,7 +26,7 @@ export PATH_TO_PLUGINS=./plugins
export GENERATE_SECRET=generate_secret_token
export MIGRATE_PLUGINS=redmine:plugins:migrate
export REDMINE_GIT_REPO=git://github.com/redmine/redmine.git
export REDMINE_GIT_TAG=master
export REDMINE_GIT_TAG=3.4-stable
export BUNDLE_GEMFILE=$PATH_TO_REDMINE/Gemfile
clone_redmine()