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

3 4 5 6
echo "*********************************************************************************" &&
echo "*                          ruby 1.8.7 REE build                                 *" &&
echo "*     Runs tests we can't run on travis because their VMs are a bit puny.       *" &&
echo "*********************************************************************************" &&
7
echo "" &&
8
rm -f Gemfile.lock &&
9
source /usr/local/rvm/scripts/rvm &&
10
rvm use ree@diaspora --create &&
11 12 13 14 15
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 &&
16
rm -rf /usr/local/rvm/gems/ree-1.8.7-2010.02@diaspora/cache &&
17 18
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 &&
19
bundle install &&
20
CI=true bundle exec rake ci:hard_things