From c275e360c3c0ff54d8c113cb79e97e693a4d8f35 Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Fri, 23 Feb 2018 15:04:50 +0700 Subject: [PATCH] Explicitly depend on the jsoo compiler for tests We also use the ppx but we should list these dependencies explicitly --- .travis-ci.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis-ci.sh b/.travis-ci.sh index 3386edcf..de88acb5 100644 --- a/.travis-ci.sh +++ b/.travis-ci.sh @@ -46,7 +46,7 @@ case "$TARGET" in rm -rf ~/.opam opam init --yes eval $(opam config env) - opam install utop ppx_driver odoc menhir ocaml-migrate-parsetree js_of_ocaml-ppx --yes + opam install utop ppx_driver odoc menhir ocaml-migrate-parsetree js_of_ocaml-ppx js_of_ocaml-compiler --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 utop ppx_driver odoc ocaml-migrate-parsetree js_of_ocaml-ppx --yes + opam install utop ppx_driver odoc ocaml-migrate-parsetree js_of_ocaml-ppx js_of_ocaml-compiler --yes echo -en "travis_fold:end:opam.deps\r" fi echo -en "travis_fold:start:jbuilder.bootstrap\r"