script:
# packaging test
- python setup.py bdist_wheel sdist
- - pip install dist/*
+ - pip install dist/*.whl
artifacts:
expire_in: 1 week
paths:
name: "$CI_PROJECT_NAME-$CI_COMMIT_TAG"
only:
- tags
+
+pages:
+ stage: build
+ script:
+ - pip install sphinx sphinx_rtd_theme
+ - sphinx-build -d ./build/doctrees doc/source -b html ./public -D html_theme=sphinx_rtd_theme
+ artifacts:
+ paths:
+ - public
+ only:
+ - master