Browse Source

Correct .gitlab-ci.yml

 + ocamlfind was not found, adding it to path.
Leo 9 years ago
parent
commit
e68283dfec
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .gitlab-ci.yml

+ 2 - 2
.gitlab-ci.yml

@@ -4,8 +4,8 @@ before_script:
 
 # OCaml version of the ci runner, i.e. from the system
 ocaml_sys:
-  script: "opam init;./configure --enable-tests;make test;opam pin add oclaunch ."
+  script: "opam init;eval `opam config env`;./configure --enable-tests;make test;opam pin add oclaunch ."
 
 # OCaml version 4.02
 ocaml_402:
-  script: "opam init --comp 4.02.3;./configure --enable-tests;make test;opam pin add oclaunch ."
+  script: "opam init --comp 4.02.3;eval `opam config env`;./configure --enable-tests;make test;opam pin add oclaunch ."