summaryrefslogtreecommitdiff
path: root/build/scripts/ci-unit.sh
blob: 0fc543133d324d35e801f6888a5021dd8e1776c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash -x
echo 'loading bashrc'
source ~/.bashrc

echo 'loading gemset'
rvm use ruby-2.0.0-p247@booty --create

echo 'bundle install'
bundle install

echo 'cp db config'
cp build/db/ci.configuration.yml build/db/configuration.yml

echo 'run tests'
export CI=true
bundle exec rake spec:unit --trace