Commit ba0cecc9 authored by Loïc Grobol's avatar Loïc Grobol
Browse files

better env isolation

parent 08ef73bf
Pipeline #2444 failed with stages
in 2 minutes and 15 seconds
default:
image: python:latest
before_script: &default_before
before_script:
- python -V # Print out python version for debugging
- python -m pip install -U pip virtualenv
- python -m virtualenv .venv
......@@ -32,10 +32,14 @@ split:
validate:
stage: "lint"
before_script:
- *default_before
- git clone --depth 1 https://github.com/UniversalDependencies/tools.git
- mkdir local
- git clone --depth 1 https://github.com/UniversalDependencies/tools.git local/ud-tools
- python -V # Print out python version for debugging
- python -m pip install -U pip virtualenv
- python -m virtualenv local/ud-tools/.venv
- source local/ud-tools/.venv/bin/activate
- python -m pip install regex
script:
- python tools/validate.py --lang fro corpus/*conllu
- python local/ud-tools/validate.py --lang fro corpus/*conllu
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment