diff options
| -rw-r--r-- | .gitlab-ci.yml | 2 | ||||
| -rwxr-xr-x | bin/setup | 10 | ||||
| -rwxr-xr-x | bin/test | 2 |
3 files changed, 13 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7b09df5..ca7536a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,7 +6,7 @@ unit: integration: image: ruby:latest script: - - bundle install + - sh ./bin/setup - sh ./bin/test variables: DEBUG: true diff --git a/bin/setup b/bin/setup new file mode 100755 index 0000000..6b6e842 --- /dev/null +++ b/bin/setup @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +[ -n "$DEBUG" ] && set -x + +cd "$(dirname "$0")/.." + +ruby -v +bundle check || bundle install @@ -2,6 +2,8 @@ set -e +[ -n "$DEBUG" ] && set -x + cd "$(dirname "$0")/.." export BIND_ADDR=127.0.0.1:7878 |
