Prepare release

parent f91347bb
[bumpversion]
current_version = 0.0.1
commit = true
tag = true
[bumpversion:file:setup.cfg]
---
stages:
- test
- publish
pep8:
image: python:3.6
stage: test
tags: [qlf-ci.inria.fr]
script:
- pip install tox
- tox -e pep8
allow_failure: true
doc:
image: python:3.6
stage: test
tags: [qlf-ci.inria.fr]
script:
- pip install tox
- tox -e docs
artifacts:
paths:
- docs/_build/html
# This file is a template, and might need editing before it works on your project.
# Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/python/tags/
image: python:3.6
#### Entering th release zone
pages:
# when: manual
stage: publish
tags: [qlf-ci.inria.fr]
dependencies:
- doc
script:
- mkdir -p public/
- cp -r docs/_build/html/* public/
artifacts:
paths:
- public
stage: deploy
tags: [qlf-ci.inria.fr]
only:
- tags
script:
- pip install tox
- tox -e docs
- mkdir -p public/
- cp -r docs/_build/html/* public/
artifacts:
paths:
- public
pypi:
stage: deploy
tags: [qlf-ci.inria.fr]
only:
- tags
script:
- python setup.py bdist_wheel
- pip install twine
# credentials are set in the env by gitlab
- twine upload dist/* --verbose
......@@ -3,7 +3,7 @@ name = distem
version = 0.0.1
keywords = Grid'5000, testing
license_file = LICENSE.txt
url = https://gitlab.inria.fr/rolivo/python_distem
url = https://gitlab.inria.fr/myriads-team/python_distem
author = Olivo Romain
author_email = olivo.romain@laposte.net
long_description = file: README.rst
......@@ -14,6 +14,7 @@ classifier =
License :: OSI Approved ::
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
[options]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment