From f9a99f542afe85677ae35e792f0a7123fd677962 Mon Sep 17 00:00:00 2001 From: Christoph Ruegg Date: Fri, 7 Jun 2013 14:19:03 +0200 Subject: [PATCH] Vagrant support for testing against mono/fsharp --- .gitignore | 1 + Vagrantfile | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 Vagrantfile diff --git a/.gitignore b/.gitignore index 70216951..7b9bd64c 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ out Thumbs.db TestResults Backup +.vagrant _UpgradeReport* _ReSharper* coverage.* diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 00000000..11f013ec --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,47 @@ +# see vagrantup.com + +Vagrant.configure("2") do |config| + + config.vm.box = "wheezy64-mono3.0.10-fsharp3.0.27" + config.vm.box_url = "https://dl.dropboxusercontent.com/s/uelesklqouaw1gl/wheezy64-mono3.0.10-fsharp3.0.27-virtualbox.box" + + # default is only 384 MB RAM, 1 CPU in that box - we need some more + config.vm.provider :virtualbox do |vb| + vb.gui = false + vb.customize ["modifyvm", :id, "--memory", "1024"] + vb.customize ["modifyvm", :id, "--cpus", "2"] + end + + # Shell Provisioning external: + # config.vm.provision :shell, :path => "script.sh" + + # Shell Provisioning inline: + # config.vm.provision :shell, :inline => "echo Hello, World" + + # Shell Provisioning inline alternative: + # $script = <