Commit 66774b87 authored by Duncan Macleod's avatar Duncan Macleod

ci: run sphinx in test stage

deploy to pages for tags only
parent 45ca2945
......@@ -28,6 +28,17 @@ test:3.6:
<<: *test
image: python:3.6
doc:
stage: test
image: python
before_script:
- python -m pip install sphinx
script:
- python setup.py build_sphinx -W
artifacts:
paths:
- build/sphinx/html
# -- build ------------------
.build: &build
......@@ -139,11 +150,7 @@ build:debian:stretch:
pages:
stage: deploy
image: python
before_script:
- apt-get -yqq install python-sphinx
script:
- python setup.py build_sphinx
- mv build/sphinx/html public
artifacts:
paths:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment