From 5fea21359c7fec0ad90eb6c7a5586b6c2bdcdbdc Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 6 Mar 2019 10:35:55 +0100 Subject: [PATCH] =?UTF-8?q?gitlab-ci=20fix=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 567f40355..7f10fca03 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,13 +5,16 @@ before_script: - mkdir ~/opam-bin - mv opam-2.0.1-x86_64-linux ~/opam-bin/opam - export PATH="$HOME/opam-bin/opam${PATH:+:}${PATH:-}" - - opam init - - opam repository add jgb https://gitlab.com/gabriel.alfour/tezos-opam-repository.git - - eval $(opam env) + - echo "$PATH" + - ~/opam-bin/opam init + - eval $(~/opam-bin/opam env) + - ~/opam-bin/opam repository add jgb https://gitlab.com/gabriel.alfour/tezos-opam-repository.git + - eval $(~/opam-bin/opam env) default-job: script: - - opam install --working-dir . + - ~/opam-bin/opam install --working-dir . + - opam --version artifacts: paths: - parser.exe