added CI test
Change-Id: Ie1bce6b17e82f63273d32de4145a20a0a7818e1a
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..4de9b84
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,26 @@
+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
diff --git a/rei.zip b/rei.zip
new file mode 100644
index 0000000..4e0b012
--- /dev/null
+++ b/rei.zip
Binary files differ
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000..cb41a23
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1,4 @@
+pip
+wheel
+spacy==2.3.2
+germalemma