Use eager loading on Travis

pull/4945/head
Oliver Günther 8 years ago
parent b43d023154
commit fca4e535c8
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 3
      config/environments/test.rb

@ -40,7 +40,8 @@ OpenProject::Application.configure do
config.cache_classes = true
# Use eager load to mirror the production environment
config.eager_load = true
# on travis
config.eager_load = ENV.fetch('CI', false)
# This setting is false by default, but we define it explicitly
config.allow_concurrency = false

Loading…
Cancel
Save