adds installation testing with vagrant

This commit is contained in:
Moisés Guimarães
2016-05-23 21:10:44 -03:00
parent 04d5ca41df
commit 07ce928bf3
3 changed files with 73 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
BOX = "ubuntu"
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
if BOX == "ubuntu"
config.vm.box = "ubuntu/trusty64"
config.vm.provision "shell", path: ".ubuntu-provisioner.sh"
else
config.vm.box = "moisesguimaraes/centos72-64"
config.vm.provision "shell", path: ".centos-provisioner.sh"
end
end