Update .gitlab-ci.yml
This commit is contained in:
parent
bd8335703d
commit
ef9c51b115
1 changed files with 12 additions and 2 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
stages:
|
stages:
|
||||||
- test
|
- test
|
||||||
#- build
|
- pypi-twine
|
||||||
#- deploy
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
stage: test
|
stage: test
|
||||||
|
|
@ -12,3 +11,14 @@ test:
|
||||||
- env.vanilla
|
- env.vanilla
|
||||||
expire_in: 1 hour
|
expire_in: 1 hour
|
||||||
|
|
||||||
|
pypi-twine:
|
||||||
|
stage: pypi-twine
|
||||||
|
tags:
|
||||||
|
- build
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
script:
|
||||||
|
- pip install --upgrade pip
|
||||||
|
- pip install twine
|
||||||
|
- python3 setup.py sdist bdist_wheel
|
||||||
|
- twine upload dist/*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue