Sha256: 614bc5ab07bb669b05b3e35d86cc37eda6679217f71bed78ad08e1197ee20177
Contents?: true
Size: 729 Bytes
Versions: 18
Compression:
Stored size: 729 Bytes
Contents
# FIXME: Figure out why this doesn't work if ENV['COVERAGE'] == 'true' require 'simplecov' require 'coveralls' SimpleCov.start { add_filter '/spec/' } SimpleCov.command_name 'acceptance' end if ENV['BOX_PATH'] == nil latest = ENV.fetch('LATEST_BOXES','2014-03-21') release = ENV.fetch('RELEASE', 'acceptance') local_path ="#{File.expand_path("../", __FILE__)}/boxes/output/#{latest}/vagrant-lxc-#{release}-amd64.box" if File.exists?(local_path) ENV['BOX_PATH'] = local_path else raise 'Set $BOX_PATH to the latest released boxes' end end Vagrant::Spec::Acceptance.configure do |c| c.component_paths << "spec/acceptance" c.provider 'lxc', box: ENV['BOX_PATH'], features: ['!suspend'] end
Version data entries
18 entries across 18 versions & 2 rubygems