Skip to content
Snippets Groups Projects
Commit c03b5544 authored by BRUN Lelio's avatar BRUN Lelio
Browse files

missing apt update?

parent 746356fd
No related branches found
No related tags found
No related merge requests found
......@@ -137,6 +137,7 @@ image: ocaml/opam:debian-testing-opam
# opam install . --deps-only --locked --with-test --with-doc --yes
# which should start by installing depexts
# (possibly we will need to set some explicit environment variable first).
- sudo apt-get update -qq
- opam install depext --yes
- opam install . --dry-run --deps-only --locked --with-test --with-doc --yes | awk '/-> installed/{print $3}' | xargs opam depext -iy
# the magical command above comes from https://github.com/ocaml/opam/issues/3790
......@@ -236,7 +237,7 @@ ctest:
- if: $DUNE_TEST_TARGETS != ""
script:
- sudo apt-get update -qq && sudo apt-get install -y -qq xsltproc
- sudo apt-get install -y -qq xsltproc
- echo -e "section_start:`date +%s`:project_tests\r\e[0K run the tests"
- if [ "$DUNE_TEST_TARGETS" != "" ]; then dune build $DUNE_TEST_TARGETS --display short --no-buffer; else echo "skipped (DUNE_TEST_TARGETS is empty)"; fi
- echo -e "section_end:`date +%s`:project_tests\r\e[0K"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment