ci.sh 862 Bytes
Newer Older
1 2 3
#!/bin/bash

echo "*************************************************************************************************" &&
4
echo "*                                  ruby 1.8.7 REE build                                         *" &&
5 6
echo "*************************************************************************************************" &&
echo "" &&
Sarah Mei's avatar
Sarah Mei committed
7
rm -f Gemfile.lock &&
8
source /usr/local/rvm/scripts/rvm &&
9
rvm use ree@diaspora --create &&
10 11 12 13 14
export RUBY_HEAP_MIN_SLOTS=1000000 &&
export RUBY_HEAP_SLOTS_INCREMENT=1000000 &&
export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1 &&
export RUBY_GC_MALLOC_LIMIT=1000000000 &&
export RUBY_HEAP_FREE_MIN=500000 &&
15
rm -rf /usr/local/rvm/gems/ree-1.8.7-2010.02@diaspora/cache &&
16 17
rm -rf /usr/local/rvm/gems/ree-1.8.7-2010.02@global/cache &&
rm -rf /usr/local/rvm/gems/ree-1.8.7-2010.02/cache &&
18
bundle install &&
19
bundle exec rake cruise