Commit bb54d68e1cdd8b2fca67cd0d6643ee7cc396d4bd

Authored by Antonio Terceiro
1 parent 76c75caa

Add script to install an environment from scratch

Showing 1 changed file with 22 additions and 0 deletions   Show diff stats
utils/ci/install-from-scratch 0 → 100755
... ... @@ -0,0 +1,22 @@
  1 +#!/bin/sh
  2 +
  3 +set -e
  4 +set -x
  5 +
  6 +# cleanup previous build
  7 +cleanup() {
  8 + vagrant destroy -f
  9 + rm -rf tmp/
  10 +}
  11 +cleanup
  12 +trap cleanup INT EXIT TERM
  13 +
  14 +# bring VMS up
  15 +vagrant up
  16 +
  17 +# install everything
  18 +rake preconfig
  19 +rake
  20 +
  21 +# test
  22 +rake test
... ...