From 3e3bbe8975e3ba2771f333517700a22ab9e68fc2 Mon Sep 17 00:00:00 2001 From: Liangliang He Date: Thu, 16 May 2019 15:02:50 +0800 Subject: [PATCH] Move pyenv out of makefile --- .gitlab-ci.yml | 2 +- docs/Makefile | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c0621660..9ba4edd7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,7 @@ build_docs: stage: build script: - cd docs - - make html + - pyenv local 3.6.3 && make html - CI_LATEST_OUTPUT_PATH=/mace-build-output/$CI_PROJECT_NAME/latest - CI_JOB_OUTPUT_PATH=/mace-build-output/$CI_PROJECT_NAME/$CI_PIPELINE_ID - rm -rf $CI_JOB_OUTPUT_PATH diff --git a/docs/Makefile b/docs/Makefile index 10559b41..f4fa89c6 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -17,5 +17,4 @@ help: # Catch-all target: route all unknown targets to Sphinx using the new # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). %: Makefile - pyenv local 3.6.3 @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) -- GitLab