2019-03-06 13:13:20 +04:00
|
|
|
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
|
2019-03-06 13:26:16 +04:00
|
|
|
- mkdir ~/opam-bin
|
|
|
|
- mv opam-2.0.1-x86_64-linux ~/opam-bin/opam
|
2019-03-06 13:37:53 +04:00
|
|
|
- chmod +x ~/opam-bin/opam
|
2019-03-06 13:26:16 +04:00
|
|
|
- export PATH="$HOME/opam-bin/opam${PATH:+:}${PATH:-}"
|
2019-03-06 13:35:55 +04:00
|
|
|
- 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)
|
2019-03-06 13:13:20 +04:00
|
|
|
|
|
|
|
default-job:
|
2019-03-06 13:21:23 +04:00
|
|
|
script:
|
2019-03-06 13:35:55 +04:00
|
|
|
- ~/opam-bin/opam install --working-dir .
|
|
|
|
- opam --version
|
2019-03-06 13:13:20 +04:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- parser.exe
|