Browse Source

Use -y in Gitlab CI script

 + Giving up with the OPAMYES varible, using -y instead
Leo 9 years ago
parent
commit
d5a6da82df
1 changed files with 3 additions and 5 deletions
  1. 3 5
      gitlab-ci.sh

+ 3 - 5
gitlab-ci.sh

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