Skip to content
Snippets Groups Projects
Commit 437428cb authored by Tamas Kiss's avatar Tamas Kiss
Browse files

Fixing gitlab runner

parent fb69e798
No related branches found
No related tags found
No related merge requests found
Pipeline #4237 passed
image: registry.kszk.bme.hu/baseimg/python-tools image: python:2.7
stages: stages:
- Init
- Testing - Testing
- Release - Release
pip:
stage: Init
script:
- python --version
- pip install -e .
flake8: flake8:
stage: Testing stage: Testing
script: script:
- pip install flake8
- flake8 src - flake8 src
pytest:
stage: Testing
script:
- pip install .[tests]
- py.test tests
release: release:
only: only:
- master - master
...@@ -29,4 +17,5 @@ release: ...@@ -29,4 +17,5 @@ release:
stage: Release stage: Release
script: script:
- python setup.py sdist bdist_wheel - python setup.py sdist bdist_wheel
- python setup.py upload --repository https://nexus.kszk.bme.hu/repository/pypi/ - pip install twine
\ No newline at end of file - twine upload --repository-url https://nexus.kszk.bme.hu/repository/pypi/ --username "${NEXUS_USERNAME}" --password "${NEXUS_PASSWORD}" dist/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment