From f296c0e381f3a95b881e23a2912b9f2754a5a2f1 Mon Sep 17 00:00:00 2001 From: u214892 <u214892@sbb.ch> Date: Thu, 6 Jun 2019 10:10:00 +0200 Subject: [PATCH] use tox -e docs instead of make docs inside xvfb-run --- .gitlab-ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6733cb4a..c7587d25 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -42,9 +42,7 @@ build_and_deploy_docs: - echo "Bucket=${BUCKET_NAME}" - echo "AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION}" - echo "CI_COMMIT_REF_SLUG=${CI_COMMIT_REF_SLUG}" - - pip install -r requirements_dev.txt -r requirements_continuous_integration.txt - - python setup.py install - - xvfb-run make docs + - xvfb-run tox -v -e docs - aws s3 cp ./docs/_build/html/ s3://${BUCKET_NAME} --recursive environment: name: ${CI_COMMIT_REF_SLUG} -- GitLab