Add utop as a test dependency

This commit is contained in:
Rudi Grinberg 2017-12-22 19:32:51 +08:00
parent a3806d7e3b
commit 01a21f91be
2 changed files with 3 additions and 2 deletions

View File

@ -46,7 +46,7 @@ case "$TARGET" in
rm -rf ~/.opam
opam init --yes
eval $(opam config env)
opam install ppx_driver odoc reason menhir ocaml-migrate-parsetree js_of_ocaml-ppx --yes
opam install utop ppx_driver odoc reason menhir ocaml-migrate-parsetree js_of_ocaml-ppx --yes
opam remove jbuilder `opam list --depends-on jbuilder --installed --short` --yes
fi
cp -a ~/.opam ~/.opam-start
@ -73,7 +73,7 @@ case "$TARGET" in
opam list
echo "version: \"1.0+dev$DATE\"" >> jbuilder.opam
opam pin add jbuilder . --no-action --yes
opam install ppx_driver odoc reason ocaml-migrate-parsetree js_of_ocaml-ppx --yes
opam install utop ppx_driver odoc reason ocaml-migrate-parsetree js_of_ocaml-ppx --yes
echo -en "travis_fold:end:opam.deps\r"
fi
echo -en "travis_fold:start:jbuilder.bootstrap\r"

View File

@ -27,5 +27,6 @@ depends: [
"ppx_driver" {test}
"odoc" {test}
"js_of_ocaml-compiler" {test}
"utop" {test}
]
available: [ ocaml-version >= "4.02.3" ]