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

set -e

[ -z "$DEBUG" ] || set -x

cd "$(dirname "$0")/.."
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

echo ["$(date "+%H:%M:%S")"] "==> Running setup…"
bin/setup

echo ["$(date "+%H:%M:%S")"] "==> Running tests…"
bin/test

echo ["$(date "+%H:%M:%S")"] "==> Running linters…"
bin/lint