core: Update vagrant-spec.config
This commit is contained in:
parent
9849426078
commit
a8a2f55f21
1 changed files with 2 additions and 6 deletions
|
@ -12,13 +12,9 @@ if ENV['COVERAGE'] == 'true'
|
||||||
SimpleCov.command_name 'acceptance'
|
SimpleCov.command_name 'acceptance'
|
||||||
end
|
end
|
||||||
|
|
||||||
# if defined? SimpleCov
|
|
||||||
# SimpleCov.command_name 'acceptance'
|
|
||||||
# end
|
|
||||||
|
|
||||||
if ENV['BOX_PATH'] == nil
|
if ENV['BOX_PATH'] == nil
|
||||||
latest = ENV.fetch('LATEST_BOXES','2014-03-11')
|
latest = ENV.fetch('LATEST_BOXES','2014-03-21')
|
||||||
release = ENV.fetch('RELEASE', 'precise')
|
release = ENV.fetch('RELEASE', 'acceptance')
|
||||||
local_path ="#{File.expand_path("../", __FILE__)}/boxes/output/#{latest}/vagrant-lxc-#{release}-amd64.box"
|
local_path ="#{File.expand_path("../", __FILE__)}/boxes/output/#{latest}/vagrant-lxc-#{release}-amd64.box"
|
||||||
if File.exists?(local_path)
|
if File.exists?(local_path)
|
||||||
ENV['BOX_PATH'] = local_path
|
ENV['BOX_PATH'] = local_path
|
||||||
|
|
Loading…
Reference in a new issue