Merge "Adding Vagrantfile for local developer testing"

This commit is contained in:
Jenkins 2016-03-18 09:05:45 +00:00 committed by Gerrit Code Review
commit ecd7c6b8a3
3 changed files with 16 additions and 0 deletions

3
.gitignore vendored
View File

@ -60,3 +60,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

0
run_tests.sh Normal file → Executable file
View File