summaryrefslogtreecommitdiff
path: root/.expeditor/run_linux_tests.sh
diff options
context:
space:
mode:
Diffstat (limited to '.expeditor/run_linux_tests.sh')
-rwxr-xr-x.expeditor/run_linux_tests.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/.expeditor/run_linux_tests.sh b/.expeditor/run_linux_tests.sh
new file mode 100755
index 0000000..fc2f6b2
--- /dev/null
+++ b/.expeditor/run_linux_tests.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+#
+# This script runs a passed in command, but first setups up the bundler caching on the repo
+
+set -ue
+
+export USER="root"
+export LANG=C.UTF-8 LANGUAGE=C.UTF-8
+
+echo "--- bundle install"
+bundle config --local path vendor/bundle
+bundle install --jobs=7 --retry=3
+
+echo "+++ bundle exec task"
+bundle exec $@