Skip to content
Snippets Groups Projects
Commit 50647f25 authored by Oriol Tintó's avatar Oriol Tintó
Browse files

Clean .gitlab-ci.yml

parent 11db0f15
No related branches found
No related tags found
2 merge requests!10Code cleaning, better documentation and updated CI.,!9Fix CI publishing.
...@@ -22,14 +22,11 @@ deploy to testpypi: ...@@ -22,14 +22,11 @@ deploy to testpypi:
image: python:3.8 image: python:3.8
tags: tags:
- docker.meteo.physik.lmu.de - docker.meteo.physik.lmu.de
# only: only:
# - tags - tags
script: script:
- pip install twine - pip install twine
- python setup.py sdist bdist_wheel - python setup.py sdist bdist_wheel
- echo "Dummy:'$ENVTEST'"
- echo "Dummy:$ENVTEST"
- echo "My password is:'$PYPI_TEST_PASSWORD'"
- twine upload -u "__token__" -p "$PYPI_TEST_PASSWORD" --repository-url https://test.pypi.org/legacy/ --skip-existing dist/* - twine upload -u "__token__" -p "$PYPI_TEST_PASSWORD" --repository-url https://test.pypi.org/legacy/ --skip-existing dist/*
install from testpypi: install from testpypi:
...@@ -37,8 +34,8 @@ install from testpypi: ...@@ -37,8 +34,8 @@ install from testpypi:
image: python:3.8 image: python:3.8
tags: tags:
- docker.meteo.physik.lmu.de - docker.meteo.physik.lmu.de
# only: only:
# - tags - tags
needs: ["deploy-to-testpypi"] needs: ["deploy-to-testpypi"]
script: script:
- pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ enstools-encoding - pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ enstools-encoding
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment