Adding a Vagrantfile for local testing

Running `vagrant up` will bring up a vagrant box
and run all gate tests.

Change-Id: Ie0b72b9be552b392ca9db35ab8cefdeb721d86aa
This commit is contained in:
Travis Truman 2016-07-13 08:45:44 -04:00 committed by Jesse Pretorius (odyssey4me)
parent 2bdff13b29
commit 92fac4e8c0
2 changed files with 16 additions and 0 deletions

3
.gitignore vendored
View File

@ -61,3 +61,6 @@ releasenotes/build
# Test temp files
tests/plugins
# Files created by vagrant testing
.vagrant

13
Vagrantfile vendored Normal file
View File

@ -0,0 +1,13 @@
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.provider "virtualbox" do |v|
v.memory = 2048
v.cpus = 2
end
config.vm.provision "shell", inline: <<-SHELL
sudo su -
cd /vagrant
apt-get update
./run_tests.sh
SHELL
end