commit a93c2e4b72c02737441e477ba231151e54ce3589
parent da55e3d2e0f9d75f794422c356188a1714938da3
Author: Georges Dupéron <georges.duperon@gmail.com>
Date: Wed, 27 Jun 2018 01:22:34 +0200
Try to get VirtualBox to run on Travis
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/test/virtualbox.sh b/test/virtualbox.sh
@@ -8,6 +8,9 @@ vmname="automatic-os-test-$(date +%s)-$$"
ln -sf "$(readlink -f "$os_file")" "$img_file"
VBoxManage createvm --name "$vmname" --register --basefolder "/tmp/$vbox_dir"
+VBoxManage modifyvm "$vmname" --hwvirtex off
+VBoxManage modifyvm "$vmname" --nestedpaging off
+VBoxManage modifyvm "$vmname" --pae off
VBoxManage storagectl "$vmname" --name 'floppy disk drive' --add floppy --bootable on
VBoxManage storageattach "$vmname" --storagectl 'floppy disk drive' --port 0 --device 0 --type fdd --medium "$img_file"
VBoxManage modifyvm "$vmname" --boot1 floppy