mirror of
https://gitlab.com/MisterBiggs/aero-astro-calc.git
synced 2025-06-16 15:17:18 +00:00
Compare commits
17 Commits
Author | SHA1 | Date | |
---|---|---|---|
e201b231ef | |||
3371569771 | |||
e903e1876f | |||
194379bdfc | |||
254ff19e5d | |||
40114966ca | |||
98b8b7509a | |||
ba87ec5098 | |||
dfcf2fb341 | |||
e321976579 | |||
dd434bb9b6 | |||
f1a08e0a00 | |||
0847d20ef2 | |||
b752bd8ad9 | |||
6049c9dffe | |||
4809e45b86 | |||
a8f4644b75 |
@ -2,7 +2,6 @@ stages:
|
||||
- deploy
|
||||
- test
|
||||
|
||||
|
||||
black:
|
||||
stage: test
|
||||
image: python:3.8
|
||||
@ -14,19 +13,12 @@ black:
|
||||
script:
|
||||
- black --check .
|
||||
|
||||
|
||||
# https://github.com/python-gitlab/python-gitlab/blob/master/.gitlab-ci.yml used for reference
|
||||
deploy:
|
||||
stage: deploy
|
||||
pypi:
|
||||
image: python:3.8
|
||||
|
||||
before_script:
|
||||
- python -V # Print out python version for debugging
|
||||
- pip install -U setuptools wheel twine
|
||||
|
||||
stage: deploy
|
||||
script:
|
||||
- python setup.py bdist_wheel
|
||||
- twine upload --skip-existing -u __token__ -p $PYPI_TOKEN dist dist/*
|
||||
|
||||
only:
|
||||
- tags
|
||||
- apt-get update -qy
|
||||
- apt-get install -y ruby-dev
|
||||
- gem install dpl
|
||||
- python setup.py sdist
|
||||
- dpl --provider=pypi --user=$TWINE_USERNAME --password=$TWINE_PASSWORD --skip_existing=true
|
||||
|
Loading…
x
Reference in New Issue
Block a user