Skip to content
Snippets Groups Projects

Fix pipeline documentation build

Merged GromeTT requested to merge fix_ci_pipeline into master
2 files
+ 31
17
Compare changes
  • Side-by-side
  • Inline

Files

+ 29
9
image: python:3.7
image: python:3.7
stages:
stages:
- build_wheel
- build
- build_doc
- deploy
wheel:
before_script:
 
- pip install --upgrade pip
 
 
build_wheel:
 
tags:
 
- wheel
 
stage: build
 
script:
 
- pip install --upgrade setuptools wheel
 
- python setup.py bdist_wheel
 
 
build_docs:
 
tags:
 
- doc
 
stage: build
 
script:
 
- pip install -r requirements.txt
 
- cd docs
 
- make html
 
 
deploy_wheel:
tags:
tags:
- wheel
- wheel
stage: build_wheel
stage: deploy
script:
script:
- pip install --upgrade pip setuptools wheel
- pip install --upgrade setuptools wheel
- python setup.py bdist_wheel
- python setup.py bdist_wheel
- mv dist/ public
- mv dist/ public
@@ -20,12 +40,12 @@ wheel:
@@ -20,12 +40,12 @@ wheel:
only:
only:
- master
- master
pages:
deploy_pages:
tags:
tags:
- doc
- doc
stage: build_doc
stage: deploy
dependencies:
dependencies:
- wheel
- deploy_wheel
script:
script:
- pip install -r requirements.txt
- pip install -r requirements.txt
- cd docs
- cd docs
@@ -36,4 +56,4 @@ pages:
@@ -36,4 +56,4 @@ pages:
paths:
paths:
- public
- public
only:
only:
- master
- master
 
\ No newline at end of file
Loading