| Rebecca Wilm | afbcd7f | 2022-11-09 16:46:48 +0100 | [diff] [blame^] | 1 | default: | 
|  | 2 | image: python:3.6 | 
|  | 3 |  | 
|  | 4 | variables: | 
|  | 5 | PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" | 
|  | 6 |  | 
|  | 7 | cache: | 
|  | 8 | paths: | 
|  | 9 | - .cache/pip | 
|  | 10 | - venv/ | 
|  | 11 |  | 
|  | 12 | before_script: | 
|  | 13 | - python -m venv venv | 
|  | 14 | - source venv/bin/activate | 
|  | 15 | - export PYTHONPATH=PYTHONPATH:. | 
|  | 16 | - pip install -r requirements.txt | 
|  | 17 | - python -m spacy download de_core_news_lg | 
|  | 18 | - apt update -y | 
|  | 19 | - apt-get install cpanminus -y | 
|  | 20 | - cpanm https://github.com/KorAP/KorAP-XML-CoNLL-U.git | 
|  | 21 |  | 
|  | 22 | test-job: | 
|  | 23 | stage: test | 
|  | 24 | script: | 
|  | 25 | - mkdir logs | 
|  | 26 | - korapxml2conllu rei.zip  | python ./systems/parse_spacy_pipe.py  | conllu2korapxml > rei.spacy.zip |