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

Version Path
vagrant-lxc-1.4.3 vagrant-spec.config.rb
vagrant-lxc-1.4.2 vagrant-spec.config.rb
vagrant-lxc-1.4.1 vagrant-spec.config.rb
vagrant-lxc-2.1-patch-1.4.0 vagrant-spec.config.rb
vagrant-lxc-1.4.0 vagrant-spec.config.rb
vagrant-lxc-1.3.1 vagrant-spec.config.rb
vagrant-lxc-1.3.0 vagrant-spec.config.rb
vagrant-lxc-1.2.4 vagrant-spec.config.rb
vagrant-lxc-1.2.3 vagrant-spec.config.rb
vagrant-lxc-1.2.2 vagrant-spec.config.rb
vagrant-lxc-1.2.1 vagrant-spec.config.rb
vagrant-lxc-1.2.0 vagrant-spec.config.rb
vagrant-lxc-1.1.0 vagrant-spec.config.rb
vagrant-lxc-1.0.1 vagrant-spec.config.rb
vagrant-lxc-1.0.0 vagrant-spec.config.rb
vagrant-lxc-1.0.0.alpha.3 vagrant-spec.config.rb
vagrant-lxc-1.0.0.alpha.2 vagrant-spec.config.rb
vagrant-lxc-1.0.0.alpha.1 vagrant-spec.config.rb