You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
530 B
34 lines
530 B
7 years ago
|
#tests-stretch:
|
||
|
# image: debian:stretch
|
||
|
# script: debian/run-ci
|
||
|
|
||
|
#tests-sid:
|
||
|
# image: debian:sid
|
||
|
# script: debian/run-ci
|
||
|
|
||
|
docs:
|
||
|
stage: test
|
||
|
image: debian:sid
|
||
|
script:
|
||
|
- apt-get update
|
||
|
- apt-get install -y python3-sphinx
|
||
|
- sphinx-build -M html doc _build
|
||
|
- mv _build/html docs
|
||
|
artifacts:
|
||
|
paths:
|
||
|
- docs
|
||
|
|
||
|
pages:
|
||
|
stage: deploy
|
||
|
dependencies:
|
||
|
- docs
|
||
|
script:
|
||
|
- rm -fr public
|
||
|
- mkdir public
|
||
|
- mv docs public/docs
|
||
|
artifacts:
|
||
|
paths:
|
||
|
- public
|
||
|
# only:
|
||
|
# - master
|