Skip to content

Commit

Permalink
Remove old-age V8 versions from Vagrantfile, refs #345
Browse files Browse the repository at this point in the history
  • Loading branch information
stesie committed Jan 5, 2018
1 parent 773c119 commit cba4eb4
Showing 1 changed file with 3 additions and 25 deletions.
28 changes: 3 additions & 25 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/xenial64"

config.vm.provider "lxc" do |lxc, override|
lxc.backingstore = "none"
override.vm.box = "zaikin/xenial64-lxc"
end


#
# mass-define "generic" Ubuntu boxes
#
%w{5.7 5.8 5.9 6.0 6.3}.each { |version|
%w{6.3 6.4 6.5}.each { |version|
config.vm.define "v8-#{version}" do |i|
i.vm.synced_folder ".", "/data/v8js"

Expand All @@ -37,7 +38,7 @@ Vagrant.configure("2") do |config|
end
}

%w{5.9.35 6.0.318}.each { |version|
%w{}.each { |version|
config.vm.define "v8-#{version}" do |i|
i.vm.synced_folder ".", "/data/v8js"

Expand Down Expand Up @@ -143,29 +144,6 @@ Vagrant.configure("2") do |config|
SHELL
end


#
# ubuntu xenial(16.04) box with PHP 7.1.3, V8 5.2
# (to reproduce issue #304)
#
config.vm.define "xenial-v8-5.2" do |i|
i.vm.box = "ubuntu/xenial64"
i.vm.synced_folder ".", "/data/v8js"

i.vm.provision "shell", inline: <<-SHELL
gpg --keyserver keys.gnupg.net --recv 7F438280EF8D349F
gpg --armor --export 7F438280EF8D349F | apt-key add -
apt-get update
apt-get install -y software-properties-common gdb tmux git tig curl apache2-utils lcov
add-apt-repository ppa:ondrej/php
add-apt-repository ppa:pinepain/libv8-5.2
apt-get update
apt-get install -y php7.1-dev libv8-5.2-dbg libv8-5.2-dev
SHELL
end

config.vm.define "macos-sierra" do |i|
i.vm.box = "gobadiah/macos-sierra"

Expand Down

0 comments on commit cba4eb4

Please sign in to comment.