main
1#!/bin/sh
2
3# script/cibuild: Setup environment for CI to run tests. This is primarily
4# designed to run on the continuous integration server.
5
6set -e
7
8cd "$(dirname "$0")/.."
9
10echo [$(date "+%H:%M:%S")] "==> Started at…"
11
12# GC customizations
13export RUBY_GC_MALLOC_LIMIT=79000000
14export RUBY_GC_HEAP_INIT_SLOTS=800000
15export RUBY_HEAP_FREE_MIN=100000
16export RUBY_HEAP_SLOTS_INCREMENT=400000
17export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1
18
19ruby -v
20gem install bundler --no-ri --no-rdoc --conservative
21bin/test
22bin/lint