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

Merge branch 'ci-cd' into 'master'

Add gitlab-ci pipeline

See merge request philip.roeggla/travelogues-extraction!1
parents d4307dc6 aec36735
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