| default: |
| image: python:3.6 |
| |
| variables: |
| PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" |
| |
| cache: |
| paths: |
| - .cache/pip |
| - venv/ |
| |
| before_script: |
| - python -m venv venv |
| - source venv/bin/activate |
| - export PYTHONPATH=PYTHONPATH:. |
| - pip install -r requirements.txt |
| - python -m spacy download de_core_news_lg |
| - apt update -y |
| - apt-get install cpanminus -y |
| - cpanm https://github.com/KorAP/KorAP-XML-CoNLL-U.git |
| |
| test-job: |
| stage: test |
| script: |
| - mkdir logs |
| - korapxml2conllu rei.zip | python ./systems/parse_spacy_pipe.py | conllu2korapxml > rei.spacy.zip |