From 4962c3e33e020729e7fd8a12ba7277f7177645b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Sat, 4 Apr 2020 18:58:19 +0200 Subject: [PATCH 1/2] sphinx generate with ci --- .drone.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.drone.yml b/.drone.yml index 47daeb8..aa1e39e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -30,6 +30,13 @@ steps: - docker push "$DOCKER_USERNAME/consumer-scheduler" - docker push "$DOCKER_USERNAME/consumer-scheduler:$DRONE_BUILD_NUMBER" +- name: static_analysis + image: python:3 + commands: + - pip3 install Sphinx + - pip3 install -r requirements.txt + - sphinx-quickstart + - name: slack image: plugins/slack settings: From ba06b200b25e8d1193ee31846268701febf46623 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Sat, 4 Apr 2020 19:08:24 +0200 Subject: [PATCH 2/2] fix drone config --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index aa1e39e..281b879 100644 --- a/.drone.yml +++ b/.drone.yml @@ -30,7 +30,7 @@ steps: - docker push "$DOCKER_USERNAME/consumer-scheduler" - docker push "$DOCKER_USERNAME/consumer-scheduler:$DRONE_BUILD_NUMBER" -- name: static_analysis +- name: build_docs image: python:3 commands: - pip3 install Sphinx