X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/1d4dcd914fd277aebf242037064612224f4dde54..5141ac14f6c8502aee8a88074159a68222054527:/Vagrantfile diff --git a/Vagrantfile b/Vagrantfile index 96d03a2e..b9d618e2 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -14,7 +14,7 @@ Vagrant.configure("2") do |config| checkout = "no" end - config.vm.define "ubuntu" do |sub| + config.vm.define "ubuntu", primary: true do |sub| sub.vm.box = "bento/ubuntu-16.04" sub.vm.provision :shell do |s| s.path = "vagrant/install-on-ubuntu-16.sh" @@ -23,7 +23,16 @@ Vagrant.configure("2") do |config| end end - config.vm.define "centos" do |sub| + 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 = "bento/centos-7.2" sub.vm.provision :shell do |s| s.path = "vagrant/install-on-centos-7.sh"