forked from diaspora/diaspora
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ci.sh
executable file
·20 lines (19 loc) · 922 Bytes
/
ci.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
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 "*********************************************************************************" &&
echo "" &&
rm -f Gemfile.lock &&
source /usr/local/rvm/scripts/rvm &&
rvm use ree@diaspora --create &&
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 &&
rm -rf /usr/local/rvm/gems/ree-1.8.7-2010.02@diaspora/cache &&
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 &&
bundle install &&
CI=true bundle exec rake ci:hard_things