diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 212bb6ab7..87856e8f7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,9 @@ before_script: - apt-get update -qq - apt-get -y -qq install libhidapi-dev libcap-dev - wget https://github.com/ocaml/opam/releases/download/2.0.1/opam-2.0.1-x86_64-linux -O opam-2.0.1-x86_64-linux - - sudo mv opam-2.0.1-x86_64-linux /usr/local/bin/opam + - mkdir ~/opam-bin + - mv opam-2.0.1-x86_64-linux ~/opam-bin/opam + - export PATH="$HOME/opam-bin/opam${PATH:+:}${PATH:-}" default-job: script: