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
|
|
|
|
- export PATH="$HOME/opam-bin/opam${PATH:+:}${PATH:-}"
|
2019-03-06 13:13:20 +04:00
|
|
|
|
|
|
|
default-job:
|
2019-03-06 13:21:23 +04:00
|
|
|
script:
|
2019-03-06 13:13:20 +04:00
|
|
|
- opam install --working-dir .
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- parser.exe
|