Commit fbfad9d1 authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Update .gitlab-ci.yml

parent fe5b6177
Loading
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -5,3 +5,13 @@ test_job:
    script:
        - pip install -r requirements.txt
        - python -m unittest tests/coords_test.py


deploy_job:
    stage: deploy
    tags:
        - intro-docker
    script:
        - pip install twine
        - python setup.py sdist bdist_wheel
        - TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --repository-url https://www.ict.inaf.it/gitlab/api/v4/projects/${CI_PROJECT_ID}/packages/pypi dist/*