Skip to content

Commit

Permalink
Update Vagrant file so that tests can be run in virtual environment […
Browse files Browse the repository at this point in the history
…ci skip]

Signed-off-by: James Myatt <[email protected]>
  • Loading branch information
jamesmyatt committed Jul 11, 2016
1 parent eb02a05 commit baf56c9
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,20 @@ Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.provision :shell, :inline => "sudo apt-get update"

# Install make, python
# Install make
config.vm.provision :shell, :inline => "apt-get install -y make"

# Provision Python 2
config.vm.provision :shell, :inline => "apt-get upgrade -y python"
config.vm.provision :shell, :inline => "apt-get install -y python-pip"
config.vm.provision :shell, :inline => "python -m pip install --upgrade pip"
config.vm.provision :shell, :inline => "python -m pip install virtualenv"

# Provision Python 3
config.vm.provision :shell, :inline => "apt-get install -y python3"
config.vm.provision :shell, :inline => "apt-get install -y python3-pip"
config.vm.provision :shell, :inline => "python3 -m pip install --upgrade pip"
config.vm.provision :shell, :inline => "python3 -m pip install virtualenv"

# reassuring message to complete:
config.vm.provision "shell", inline: "echo All set!", run: "always"
Expand Down

0 comments on commit baf56c9

Please sign in to comment.