diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..e2eb4a1f3a4d0f8adfe0fadd7d7abcd86abda165 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,25 @@ +image: clarinpl/python:3.8 + +stages: + - test + - deploy + +unittests: + stage: test + script: + - python setup.py test + +pypi_deploy: + before_script: + - pip install twine + only: + - master + stage: deploy + when: on_success + script: + - python setup.py sdist bdist_wheel + - python -m twine upload + --repository-url https://pypi.clarin-pl.eu/ + -u $PIPY_USER + -p $PIPY_PASS + dist/COMBO*.whl