Commit 1585dffb authored by Janos Borst's avatar Janos Borst
Browse files

pypi deployment not possible at the moment

parent b8825f14
Pipeline #37940 passed with stage
in 34 minutes and 28 seconds
......@@ -8,45 +8,45 @@ stages:
test_python3.7:
only:
- master
- merge_requests
stage: test
image: python:3.7.5-slim-buster
script:
- python -m pytest tests
test_python3.8:
only:
- master
- merge_requests
stage: test
image: python:3.8-buster
script:
- python -m pytest tests
coverage:
only:
refs:
- master
- merge_requests
image: python:3.7.5-slim-buster
stage: test
script:
- pytest --cov=mlmc --cov-report xml
- coverage report
#pypi_deploy:
# stage: deploy
# only:
# - tags
# image: python:3.7-stretch
# before_script:
# - pip install -r requirements.txt
# - python setup.py sdist bdist_wheel
#
#test_python3.7:
# only:
# - master
# - merge_requests
# stage: test
# image: python:3.7.5-slim-buster
# script:
# - python -m pytest tests
#
#test_python3.8:
# only:
# - master
# - merge_requests
# stage: test
# image: python:3.8-buster
# script:
# - python -m pytest tests
#
#coverage:
# only:
# refs:
# - master
# - merge_requests
# image: python:3.7.5-slim-buster
# stage: test
# script:
# - pytest --cov=mlmc --cov-report xml
# - coverage report
pypi_deploy:
stage: deploy
only:
- tags
image: python:3.7-stretch
before_script:
- pip install -r requirements.txt
- python setup.py sdist bdist_wheel
script:
- twine upload -r melmac -u $PYPI_USER -p $PYPI_PASSWORD dist/*
# script:
# - twine upload -u $PYPI_USER -p $PYPI_PASSWORD dist/*
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