Adding Vagrantfile for local testing

Running `vagrant up` will emulate the gate tests

Change-Id: I3075e778939a70d3657de2f1ba512ca5dbf79a28
This commit is contained in:
Travis Truman 2016-08-11 16:38:04 -05:00 committed by Jesse Pretorius (odyssey4me)
parent af115bf7bd
commit a04ca292a0
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
# Vagrant testing artifacts
.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