view contrib/vagrant/Vagrantfile @ 36260:9a1df91429af

py3: replace file() with open() in test-convert-git.t file() is not present in Python 3. It also makes sure we write bytes on Python 3. Differential Revision: https://phab.mercurial-scm.org/D2133
author Pulkit Goyal <7895pulkit@gmail.com>
date Sun, 11 Feb 2018 17:17:56 +0530
parents a31ffc445f02
children 7fd16ddabaa0
line wrap: on
line source

# -*- mode: ruby -*-

Vagrant.configure('2') do |config|
  # Debian 8.1 x86_64 without configuration management software
  config.vm.box = "debian/jessie64"
  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