From 0b73075394869670d16167ec837deef5b4b1281b Mon Sep 17 00:00:00 2001 From: Thom Wiggers Date: Wed, 1 Aug 2018 17:52:01 +0200 Subject: [PATCH] Attempt to fix docs build --- .gitlab-ci.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3bebeaff..54b07a32 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -53,17 +53,16 @@ docs: image: $PY35_IMAGE before_script: # install django deps - - pip install -r requirements.txt - - pip install -r dev-requirements.txt - - cd docs + - pipenv install --dev # install doc deps - - pip install -r requirements.txt + - cd docs + - pipenv run pip install -r requirements.txt script: - echo "Building current docs" - - env -u GITLAB_CI make doctest - - env -u GITLAB_CI sphinx-build -M html "." "_build" -W -j $(nproc) + - env -u GITLAB_CI pipenv run make doctest + - env -u GITLAB_CI pipenv run sphinx-build -M html "." "_build" -W -j $(nproc) - echo "Checking if there are changes" - - ./generate-apidocs.sh + - pipenv run ./generate-apidocs.sh - git diff --exit-code build docker image: -- GitLab