summaryrefslogtreecommitdiff
path: root/bin/cibuild
blob: ac0ce207bc0714b49c4592c5532b82be3b3dcfb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

set -e

cd "$(dirname "$0")/.."

echo [$(date "+%H:%M:%S")] "==> Started at…"

# GC customizations
export RUBY_GC_MALLOC_LIMIT=79000000
export RUBY_GC_HEAP_INIT_SLOTS=800000
export RUBY_HEAP_FREE_MIN=100000
export RUBY_HEAP_SLOTS_INCREMENT=400000
export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1

ruby -v
gem install bundler --conservative -v '~> 2.0'
git submodule update --init
bin/test
bin/lint