diff contrib/vagrant/Vagrantfile @ 21874:8da01b6e7b49

contrib/vagrant: use Vagrant for running tests on virtual machine $ cd contrib/vagrant $ vagrant up $ vagrant ssh -c ./run-tests.sh Repository is shared at /hgshared in guest machine.
author anatoly techtonik <techtonik@gmail.com>
date Sat, 05 Jul 2014 16:32:28 +0300
parents
children a31ffc445f02
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contrib/vagrant/Vagrantfile	Sat Jul 05 16:32:28 2014 +0300
@@ -0,0 +1,14 @@
+# -*- mode: ruby -*-
+
+Vagrant.configure('2') do |config|
+  # Debian 7.4 32-bit i386 without configuration management software
+  config.vm.box = "puppetlabs/debian-7.4-32-nocm"
+  #config.vm.box = "pnd/debian-wheezy32-basebox"
+  config.vm.hostname = "tests"
+
+  config.vm.define "tests" do |conf|
+    conf.vm.provision :file, source: "run-tests.sh", destination:"run-tests.sh"
+    conf.vm.provision :shell, path: "provision.sh"
+    conf.vm.synced_folder "../..", "/hgshared"
+  end
+end