.gitlab-ci.yml 687 Bytes
Newer Older
Loïc Grobol's avatar
Loïc Grobol committed
1
2
default:
  image: python:latest
Loïc Grobol's avatar
Loïc Grobol committed
3
4
5
6
7
8
  before_script:
    - python -V               # Print out python version for debugging
    - python -m pip install -U pip virtualenv
    - python -m virtualenv .venv
    - source .venv/bin/activate
    - python -m pip install -U -r requirements.txt
Loïc Grobol's avatar
Loïc Grobol committed
9

10
11
12
13
14
15
16
17
variables:
  PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"

cache:
  paths:
    - .cache/pip
    - .venv/

Loïc Grobol's avatar
Loïc Grobol committed
18
split:
19
  stage: "build"
Loïc Grobol's avatar
Loïc Grobol committed
20
21
22
23
24
  script: "python tools/regenerate_split.py corpus/split.json corpus/*.conllu --out-dir local/UD_Old_French-SRCMF/ --overwrite"
  artifacts:
    expose_as: "UD standard split"
    name: "UD_Old_French-SRCMF-$CI_COMMIT_REF_NAME"
    paths:
Loïc Grobol's avatar
Loïc Grobol committed
25
      - "local/UD_Old_French-SRCMF/"