Attempt to fix docs build

parent 2740d53f
...@@ -53,17 +53,16 @@ docs: ...@@ -53,17 +53,16 @@ docs:
image: $PY35_IMAGE image: $PY35_IMAGE
before_script: before_script:
# install django deps # install django deps
- pip install -r requirements.txt - pipenv install --dev
- pip install -r dev-requirements.txt
- cd docs
# install doc deps # install doc deps
- pip install -r requirements.txt - cd docs
- pipenv run pip install -r requirements.txt
script: script:
- echo "Building current docs" - echo "Building current docs"
- env -u GITLAB_CI make doctest - env -u GITLAB_CI pipenv run make doctest
- env -u GITLAB_CI sphinx-build -M html "." "_build" -W -j $(nproc) - env -u GITLAB_CI pipenv run sphinx-build -M html "." "_build" -W -j $(nproc)
- echo "Checking if there are changes" - echo "Checking if there are changes"
- ./generate-apidocs.sh - pipenv run ./generate-apidocs.sh
- git diff --exit-code - git diff --exit-code
build docker image: build docker image:
......
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