From 2ad06a0e069a77de6fa9a9143da9eda1bf74588e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Henry?= Date: Wed, 7 Feb 2018 14:40:30 +0100 Subject: [PATCH] CI: manually bundle test dependencies --- scripts/ci/create_opam_repository.tezos_deps.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/ci/create_opam_repository.tezos_deps.sh b/scripts/ci/create_opam_repository.tezos_deps.sh index c3824361b..8e929747f 100755 --- a/scripts/ci/create_opam_repository.tezos_deps.sh +++ b/scripts/ci/create_opam_repository.tezos_deps.sh @@ -45,6 +45,11 @@ for opam in $opams; do packages="$packages $package" done +# Hack: it loks like there is too many cycle in the opam-repository, +# when using `opam-bundle --with-test --with-doc`, so we manually +# inline some of the test and doc dependencies. +extra_packages="depext kaputt alcotest ocp-indent odoc" + if ! [ -f "$build_dir"/opam-repository-master.tgz ]; then echo echo "### Fetching opam-repository-master.tar.gz ..." @@ -80,8 +85,7 @@ RUN opam bundle --yes --output="tezos_bundle-$ocaml_version" \ --repository=opam-repository-tezos \ --repository=opam-repository-master \ --ocaml=$ocaml_version \ - --with-doc --with-test \ - $packages depext ocp-indent odoc + $packages $extra_packages EOF docker build --pull -t $tmp_image "$tmp_dir"