Mercurial > hg
diff contrib/vagrant/provision.sh @ 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/contrib/vagrant/provision.sh Sat Jul 05 16:32:28 2014 +0300 @@ -0,0 +1,10 @@ +#!/bin/sh +# This scripts is used to install dependencies for +# testing Mercurial. Mainly used by Vagrant (see +# Vagrantfile for details). + +export DEBIAN_FRONTEND=noninteractive +apt-get update +apt-get install -y -q python-dev unzip +# run-tests.sh is added by Vagrantfile +chmod +x run-tests.sh