diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c074561832b8873144cef90719e26ae50fe78074..f7c5bcd5b805ef1ab0bf97a9f747f0c1843e15e5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,15 +22,14 @@ before_script: pypi_publish: before_script: - - pip list - - pip install twine + - pip3 list + - pip3 install twine only: - main stage: publish script: - - pip install twine - - python setup.py sdist bdist_wheel - - python -m twine upload + - python3 setup.py sdist bdist_wheel + - python3 -m twine upload --skip-existing --repository-url https://pypi.clarin-pl.eu/ -u $PIPY_USER diff --git a/tox.ini b/tox.ini index a20a46635ddd3d6f66471317f746a817aa3a175f..12e6382efe4c8eb10d8a1441699b68b63919902f 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py +envlist = py38 [testenv] commands = pytest {posargs} \ No newline at end of file