diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..6077c185ece3b6183b6e0c6a5b7a7a5d31cd2845 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,30 @@ +image: clarinpl/python:3.8 + +cache: + paths: + - .tox +stages: + - publish + +before_script: + - apt-get update -yqq + && apt-get install -yqq --no-install-recommends + make + g++ + && apt-get autoremove -yqq --purge + && apt-get clean + +pypi_publish: + before_script: + - pip install twine + only: + - main + stage: publish + script: + - python -m build + - python -m twine upload + --skip-existing + --repository-url https://pypi.clarin-pl.eu/ + -u $PIPY_USER + -p $PIPY_PASS + dist/lambo*.whl