From 36d297f22738566151d53844363dde31a6ec981e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Sat, 4 Apr 2020 19:05:27 +0200 Subject: [PATCH 1/2] sphinx drone --- .drone.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.drone.yml b/.drone.yml index 5cbb14a..3f2eaa9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -30,6 +30,13 @@ steps: - docker push "$DOCKER_USERNAME/consumer_api" - docker push "$DOCKER_USERNAME/consumer_api:$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 54aa6ef71245e52a1f1907fa2801c16947a88a1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Sat, 4 Apr 2020 19:07:57 +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 3f2eaa9..0692293 100644 --- a/.drone.yml +++ b/.drone.yml @@ -30,7 +30,7 @@ steps: - docker push "$DOCKER_USERNAME/consumer_api" - docker push "$DOCKER_USERNAME/consumer_api:$DRONE_BUILD_NUMBER" -- name: static_analysis +- name: build_docs image: python:3 commands: - pip3 install Sphinx