diff options
| author | mo <mo@mokhan.ca> | 2018-05-07 16:16:53 -0600 |
|---|---|---|
| committer | mo <mo@mokhan.ca> | 2018-05-07 16:16:53 -0600 |
| commit | 31500bdab2e72b370d7e622195161df2515fdf4f (patch) | |
| tree | 4b4810e79eb6e5962986f8efca45a62d6899cf79 /bin/cibuild | |
| parent | 94930e58756679db7803e7fd59664f696689388d (diff) | |
hook up CI.
Diffstat (limited to 'bin/cibuild')
| -rwxr-xr-x | bin/cibuild | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/bin/cibuild b/bin/cibuild new file mode 100755 index 0000000..c373497 --- /dev/null +++ b/bin/cibuild @@ -0,0 +1,22 @@ +#!/bin/sh + +# script/cibuild: Setup environment for CI to run tests. This is primarily +# designed to run on the continuous integration server. + +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 --no-ri --no-rdoc --conservative +bin/test +bin/lint |
