summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab/test.yml2
-rwxr-xr-xbin/lint6
2 files changed, 7 insertions, 1 deletions
diff --git a/.gitlab/test.yml b/.gitlab/test.yml
index 63615bc..f9b5222 100644
--- a/.gitlab/test.yml
+++ b/.gitlab/test.yml
@@ -13,7 +13,7 @@ lint:
stage: test
image: alpine:latest
script:
- - apk add shellcheck
+ - apk add ruby-bundler shellcheck
- bin/lint
.rspec:
diff --git a/bin/lint b/bin/lint
index 21113e9..7814dba 100755
--- a/bin/lint
+++ b/bin/lint
@@ -1,5 +1,11 @@
#!/bin/sh
+set -e
+
+cd "$(dirname "$0")/.."
+
+./bin/setup
+
shellcheck bin/*
shellcheck config/.bashrc
shellcheck config/.profile