GitLab does not have a sudo command

This commit is contained in:
Your Name 2019-03-06 10:26:16 +01:00
parent ebf382093e
commit 43ebc969ec

View File

@ -2,7 +2,9 @@ before_script:
- apt-get update -qq - apt-get update -qq
- apt-get -y -qq install libhidapi-dev libcap-dev - 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 - 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: default-job:
script: script: