Commit 11e4ce9c authored by georg's avatar georg

specs: Disable bundler usage via env var

Bundler isn't used for Debian packaging, therefore, this commit allows
to disable bundler via an env var.
parent d435c737
ENV['SCHLEUDER_ENV'] ||= 'test'
ENV['SCHLEUDER_CONFIG'] = 'spec/schleuder.yml'
ENV["SCHLEUDER_LIST_DEFAULTS"] = "etc/list-defaults.yml"
require 'bundler/setup'
if ENV['USE_BUNDLER'] != 'false'
require 'bundler/setup'
# We need to do this before requiring any other code
# Check env if we want to run code coverage analysis
if ENV['CHECK_CODE_COVERAGE'] != 'false'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment