summaryrefslogtreecommitdiff
path: root/bin/cibuild
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-04-14 12:43:20 -0600
committermo khan <mo.khan@gmail.com>2020-04-14 12:43:20 -0600
commit2b69afb35bd1b123e00d3efabce0d4c4aefdd008 (patch)
treee750f551d075ef48f944b09d108f8a466d675c33 /bin/cibuild
parent82d9dfd9e98e90e5457c5f079e2c65252518d199 (diff)
Fix linter errors
Diffstat (limited to 'bin/cibuild')
-rwxr-xr-xbin/cibuild18
1 files changed, 18 insertions, 0 deletions
diff --git a/bin/cibuild b/bin/cibuild
new file mode 100755
index 0000000..44eda04
--- /dev/null
+++ b/bin/cibuild
@@ -0,0 +1,18 @@
+#!/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
+
+gem install bundler --conservative -v '~> 2.0'
+bin/test
+bin/lint