- config.vm.provider "virtualbox" do |vb|
- vb.gui = false
- vb.customize ["modifyvm", :id, "--memory", "2048"]
+ config.vm.define "travis" do |sub|
+ sub.vm.box = "bento/ubuntu-14.04"
+ sub.vm.provision :shell do |s|
+ s.path = "vagrant/install-on-travis-ci.sh"
+ s.privileged = false
+ s.args = [checkout]
+ end
+ end
+
+ config.vm.define "centos" do |sub|
+ sub.vm.box = "centos/7"
+ sub.vm.provision :shell do |s|
+ s.path = "vagrant/Install-on-Centos-7.sh"
+ s.privileged = false
+ s.args = "yes"
+ end
+ sub.vm.synced_folder ".", "/home/vagrant/Nominatim", disabled: true
+ sub.vm.synced_folder ".", "/vagrant", disabled: true