Conditional for tests is 'with-test', not 'test'.

This commit is contained in:
Georges Dupéron 2019-04-23 16:26:09 +02:00
parent 6d9334a60d
commit eb20191704
2 changed files with 9 additions and 4 deletions

View File

@ -20,9 +20,9 @@ before_script:
default-job: default-job:
script: script:
- (cd src/lib_utils && ls -a && opam install -y --build-test --working-dir .) - (cd src/lib_utils && opam install -y --build-test --working-dir .)
- (cd src/ligo && ls -a && opam install -y --build-test --working-dir .) - (cd src/ligo && opam install -y --build-test --working-dir .)
- (cd src/ligo && ls -a && dune build && dune build -p ligo && dune build @ligo-test) - (cd src/ligo && dune build && dune build -p ligo && dune build @ligo-test)
artifacts: artifacts:
paths: paths:
- src/ligo/bin/cli.ml - src/ligo/bin/cli.ml
@ -31,3 +31,8 @@ default-job:
install-from-repo-job: install-from-repo-job:
script: script:
- opam install -y ligo - opam install -y ligo
# Used in the IDE
#- opam install -y user-setup
#- opam install -y merlin
#- opam install -y ocp-indent
#- opam user-setup install

View File

@ -15,7 +15,7 @@ depends: [
"ppx_let" "ppx_let"
"tezos-utils" "tezos-utils"
"yojson" "yojson"
"alcotest" { test } "alcotest" { with-test }
] ]
build: [ build: [
[ "dune" "build" "-p" name "-j" jobs ] [ "dune" "build" "-p" name "-j" jobs ]