Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added vagrant config for testing clean builds.
- Loading branch information
1 parent
455b86d
commit 4e38d1f
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,3 +30,4 @@ test/.deps/ | |
include/config.h.in | ||
include/config.h | ||
include/stamp-h1 | ||
.vagrant/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# -*- mode: ruby -*- | ||
# vi: set ft=ruby : | ||
|
||
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | ||
VAGRANTFILE_API_VERSION = "2" | ||
|
||
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | ||
# Every Vagrant virtual environment requires a box to build off of. | ||
config.vm.box = 'ubuntu/trusty64' | ||
# config.vm.box_url = "http://domain.com/path/to/above.box" | ||
|
||
config.vm.provision 'shell', path: 'scripts/provision.sh' | ||
|
||
config.vm.provider 'virtualbox' do |vb| | ||
vb.customize ['modifyvm', :id, '--memory', '2048'] | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
apt-get install -y git build-essential automake autoconf; | ||
|
||
apt-get install -y libxml2-dev libpqxx3-dev libfcgi-dev \ | ||
libboost-dev libboost-regex-dev libboost-program-options-dev \ | ||
libboost-date-time-dev libboost-system-dev libmemcached-dev; | ||
|
||
# following stuff is for testing only | ||
apt-get install -y postgresql postgresql-contrib postgis \ | ||
ruby-libxml ruby-pg | ||
sudo -u postgres createuser -s vagrant |