summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-09-15 14:54:53 -0600
committermo khan <mo.khan@gmail.com>2020-09-15 14:54:53 -0600
commit511d697eec04baeb338da82db38bbc54389d5d23 (patch)
tree5b2e899c2af513085e6502e28891ca59fc8f4fef
parent175626535e6f5647f0296df6d03bb49c42093a5d (diff)
chore: add test suite to CI
-rw-r--r--.gitlab-ci.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..ab58917
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,17 @@
+variables:
+ DOCKER_DRIVER: overlay2
+ GIT_DEPTH: "1"
+ GIT_STRATEGY: fetch
+
+stages:
+ - test
+
+e2e:
+ image: docker:stable
+ stage: test
+ services:
+ - docker:stable-dind
+ script:
+ - apk add ruby ruby-bundler
+ - bundle install
+ - bundle exec rspec