From 8402e5b89e532e48583923becf2e18eb1668ab51 Mon Sep 17 00:00:00 2001
From: Jeffrey Phillips Freeman <jeffrey.freeman@syncleus.com>
Date: Sun, 26 Jan 2020 15:11:21 +0100
Subject: [PATCH] CI: Autobuilding and deploying documentation.

---
 .gitlab-ci.yml   | 26 ++++++++++++++++++++++++++
 requirements.txt |  1 +
 2 files changed, 27 insertions(+)
 create mode 100644 .gitlab-ci.yml
 create mode 100644 requirements.txt

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..a7994ab
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,26 @@
+image: goblinogm/sphinx-builder
+
+cache:
+  paths:
+  - vendor
+
+test:
+  script:
+  - pip install -U -r requirements.txt
+  - cd docs
+  - make html
+  except:
+    - master
+
+pages:
+  script:
+  - pip install -U -r requirements.txt
+  - cd docs
+  - make html
+  - cd ..
+  - mv docs/_build/html public
+  artifacts:
+    paths:
+    - public
+  only:
+  - master
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000..8141df7
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1 @@
+aiogremlin>=3.2.6
-- 
GitLab