From bb54d68e1cdd8b2fca67cd0d6643ee7cc396d4bd Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Mon, 29 Jun 2015 18:16:06 -0300 Subject: [PATCH] Add script to install an environment from scratch --- utils/ci/install-from-scratch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+), 0 deletions(-) create mode 100755 utils/ci/install-from-scratch diff --git a/utils/ci/install-from-scratch b/utils/ci/install-from-scratch new file mode 100755 index 0000000..f90ef8d --- /dev/null +++ b/utils/ci/install-from-scratch @@ -0,0 +1,22 @@ +#!/bin/sh + +set -e +set -x + +# cleanup previous build +cleanup() { + vagrant destroy -f + rm -rf tmp/ +} +cleanup +trap cleanup INT EXIT TERM + +# bring VMS up +vagrant up + +# install everything +rake preconfig +rake + +# test +rake test -- libgit2 0.21.2