diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 897cf2ecc09f56c43083cb4b8636ff1f8df4227c..5da531b0f9462883774bcb0b13300359629fa126 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,8 +5,8 @@ variables: PYPI_PASSWORD: SECURE stage: - test - deploy + - test + - deploy tests: stage: test @@ -29,9 +29,10 @@ tests: pypi_package: stage: deploy before_script: - - echo "[server-login]" > ~/.pypirc + - echo "[server-login]" >> ~/.pypirc - echo "username=" ${PYPI_USER} >> ~/.pypirc - echo "password=" ${PYPI_PASSWORD} >> ~/.pypirc + script: - python setup.py check sdist upload only: tags