Browse Source

Revert "Use -y in Gitlab CI script"

This reverts commit d5a6da82df8b221dfff40ee298957b3b8c014e24.

In fact, OPAMYES is working, looked at an older build when removing it.
Leo 9 years ago
parent
commit
c4e198a524
1 changed files with 5 additions and 3 deletions
  1. 5 3
      gitlab-ci.sh

+ 5 - 3
gitlab-ci.sh

@@ -4,8 +4,10 @@
 
 
 # Inspired by https://github.com/ocaml/ocaml-ci-scripts
 # Inspired by https://github.com/ocaml/ocaml-ci-scripts
 
 
+# Use -y with evry opam command
+export OPAMYES=true
 # Installing opam
 # Installing opam
-opam init -y --comp="$1"
+opam init --comp="$1"
 eval `opam config env`
 eval `opam config env`
 
 
 # Versions
 # Versions
@@ -14,10 +16,10 @@ opam --git-version
 ocaml -version
 ocaml -version
 
 
 # ocamlfind is mandatory to build
 # ocamlfind is mandatory to build
-opam install -y ocamlfind
+opam install ocamlfind
 
 
 # Installing dependancies and testing installation
 # Installing dependancies and testing installation
-opam pin add -y oclaunch-ci .
+opam pin add oclaunch-ci .
 # Building OcLaunch and running tests
 # Building OcLaunch and running tests
 ./configure --enable-tests
 ./configure --enable-tests
 make test
 make test