2398c492fa
- Install python2 for Ubuntu 16.04 and CentOS 7 before executing test script. Change-Id: I7166e815157e004236435ac8aa8e4ab30105e913
17 lines
324 B
Ruby
17 lines
324 B
Ruby
Vagrant.configure(2) do |config|
|
|
|
|
config.vm.provider "virtualbox" do |v|
|
|
v.memory = 2048
|
|
v.cpus = 2
|
|
end
|
|
|
|
config.vm.define "ubuntu1604" do |xenial|
|
|
xenial.vm.box = "ubuntu/xenial64"
|
|
xenial.vm.provision "shell", inline: <<-SHELL
|
|
sudo su -
|
|
cd /vagrant
|
|
./run_tests.sh
|
|
SHELL
|
|
end
|
|
end
|