summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-13 07:43:37 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-13 07:43:37 -0500
commitb79414e336d267ba3d43c0b512f01cf096b184f3 (patch)
tree7b8734f1804379b32d409566fc371763b662f14a
parentcfb5ac8c728946c2eeddf62427279e6c0935f70e (diff)
downloadhorizon-b79414e336d267ba3d43c0b512f01cf096b184f3.tar.gz
horizon-b79414e336d267ba3d43c0b512f01cf096b184f3.tar.bz2
horizon-b79414e336d267ba3d43c0b512f01cf096b184f3.tar.xz
horizon-b79414e336d267ba3d43c0b512f01cf096b184f3.zip
Add code badge, make pages thing
-rw-r--r--.gitlab-ci.yml18
-rw-r--r--README.rst2
2 files changed, 20 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 16b0b5a..f2910aa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -27,3 +27,21 @@ test:
reports:
junit: tests/rspec-*.xml
metrics: metrics.txt
+
+pages:
+ stage: deploy
+ dependencies:
+ - test
+ script:
+ - mkdir public
+ - mv cov_html public/coverage
+ - cd devel
+ - make
+ - mv requirements/html ../public/requirements
+ - mv script/html ../public/script
+ - mv vision/html ../public/vision
+ artifacts:
+ paths:
+ - public
+ only:
+ - master
diff --git a/README.rst b/README.rst
index 0974a32..6e94d28 100644
--- a/README.rst
+++ b/README.rst
@@ -30,6 +30,8 @@ auditable, secure, and fast.
.. image:: https://img.shields.io/gitlab/pipeline/adelie/horizon?gitlab_url=https%3A%2F%2Fcode.foxkit.us%2F
:target: https://code.foxkit.us/adelie/horizon/pipelines
+.. image:: https://code.foxkit.us/adelie/horizon/badges/master/coverage.svg
+
.. image:: https://img.shields.io/codacy/grade/fcca720981ee4646aa7e5b4f2f124aa4.svg
:target: https://app.codacy.com/project/awilfox/horizon/dashboard