8011ba56d1
Install python2 for Ubuntu 16.04 and CentOS 7 before executing test script. Change-Id: Ia57abe78ea0a525877a9ef607d91acd4fccdd02d
16 lines
323 B
Ruby
16 lines
323 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
|