summaryrefslogtreecommitdiff
path: root/bin/cibuild
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cibuild')
-rwxr-xr-xbin/cibuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/bin/cibuild b/bin/cibuild
index a212da4..4990224 100755
--- a/bin/cibuild
+++ b/bin/cibuild
@@ -1,15 +1,10 @@
#!/bin/sh
-# script/cibuild: Setup environment for CI to run tests. This is primarily
-# designed to run on the continuous integration server.
-
set -e
+[ -z "$DEBUG" ] || set -x
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
@@ -17,7 +12,11 @@ export RUBY_HEAP_SLOTS_INCREMENT=400000
export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1
export CIBUILD=1
-ruby -v
-gem install bundler:2.0.1 --conservative
+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