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:
script:
- (cd src/lib_utils && ls -a && opam install -y --build-test --working-dir .)
- (cd src/ligo && ls -a && opam install -y --build-test --working-dir .)
- (cd src/ligo && ls -a && dune build && dune build -p ligo && dune build @ligo-test)
- (cd src/lib_utils && opam install -y --build-test --working-dir .)
- (cd src/ligo && opam install -y --build-test --working-dir .)
- (cd src/ligo && dune build && dune build -p ligo && dune build @ligo-test)
artifacts:
paths:
- src/ligo/bin/cli.ml
@ -31,3 +31,8 @@ default-job:
install-from-repo-job:
script:
- 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"
"tezos-utils"
"yojson"
"alcotest" { test }
"alcotest" { with-test }
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]