Skip to content
Snippets Groups Projects
Commit aec36735 authored by csteindl's avatar csteindl
Browse files

Add gitlab-ci pipeline

parent d4307dc6
No related branches found
No related tags found
No related merge requests found
image: 'tmaier/docker-compose:latest'
variables:
PYTHON_BASE_IMAGE: 'python:3.8.4-slim'
stages:
- test
- build
pytest:
image: $PYTHON_BASE_IMAGE
stage: test
script:
- 'python -m pip install --upgrade pip'
- 'python -m pip install -r requirements.txt'
- 'python -m pip install pytest'
- 'python -m pytest test'
extract_data:
image: $PYTHON_BASE_IMAGE
stage: build
script:
- 'python -m pip install --upgrade pip'
- 'python -m pip install -r requirements.txt'
- 'python -m pip install ipython'
- 'ipython travelogues_extraction/script/script.py'
artifacts:
paths:
- 'travelogues_extraction/script/output/'
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