Parcourir la source

Fixing Gitlab CI

 + Since ocamlfind continue not to be found, we are trying a solution suggested
 by opam, adding some code to ~/.ocamlinit.
 + Trying it with job ocaml_sys, to be appened to others if it works.
Leo il y a 9 ans
Parent
commit
b7f5c09139
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      .gitlab-ci.yml

+ 1 - 1
.gitlab-ci.yml

@@ -4,7 +4,7 @@ before_script:
 
 
 # OCaml version of the ci runner, i.e. from the system
 # OCaml version of the ci runner, i.e. from the system
 ocaml_sys:
 ocaml_sys:
-  script: "opam init;eval `opam config env`;./configure --enable-tests;make test;opam pin add oclaunch ."
+  script: "opam init;eval `opam config env`;echo 'let ()=try Topdirs.dir_directory (Sys.getenv \"OCAML_TOPLEVEL_PATH\") with Not_found -> ();;' >  ~/.ocamlinit;./configure --enable-tests;make test;opam pin add oclaunch ."
 
 
 # OCaml version 4.02
 # OCaml version 4.02
 ocaml_402:
 ocaml_402: