Commit c84c9087 authored by Michal Štefánik's avatar Michal Štefánik
Browse files

updated gitlab-ci with trec_eval var

parent 78849b1c
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4,6 +4,8 @@ stages:
run_evaluate:
    image: ubuntu:18.04
    stage: evaluate
    variables:
        trec_eval: 'yes'
    script:
        - apt update && apt install -y build-essential make git
        - git clone https://github.com/usnistgov/trec_eval.git
+3 −3
Original line number Diff line number Diff line
@@ -46,8 +46,8 @@ rm README-head.md README-tail.md
git add README.md
cd ..

if ! git diff --quiet --staged
if ! git diff --staged
then
  git commit -m 'Update result tables' --quiet
  git push --quiet
  git commit -m 'Update result tables'
  git push
fi