Skip to content
Snippets Groups Projects
Commit bfd73ee7 authored by nimrod's avatar nimrod
Browse files

- Disable Virtuabox's hardware virtualization extensions only in TravisCI.

parent 982211ee
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@ group: beta
env:
global:
- VBOX_MEMORY=2048
- VBOX_HWVIRTEX=off
matrix:
- TOXENV=pre-commit
- TOXENV=openbsd60
......
......@@ -46,6 +46,6 @@ vagrant:
- 'landrush_ip.override = false if Vagrant.has_plugin?("landrush")'
- |
vm.provider "virtualbox" do |v|
v.customize "pre-boot", ["modifyvm", :id, "--hwvirtex", "off"]
v.customize "pre-boot", ["modifyvm", :id, "--hwvirtex", ENV['VBOX_HWVIRTEX']] if ENV.has_key?('VBOX_HWVIRTEX')
v.memory = ENV['VBOX_MEMORY'].to_i if ENV.has_key?('VBOX_MEMORY')
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment