gitlab-ci.sh 329 B

1234567891011121314151617181920
  1. #!/bin/sh
  2. # Inspired by https://github.com/ocaml/ocaml-ci-scripts
  3. # Installing opam
  4. opam init --comp="4.02.2"
  5. eval `opam config env`
  6. opam --version
  7. opam --git-version
  8. ocaml -version
  9. # ocamlfind is mandatory to build
  10. opam install ocamlfind
  11. # Building OcLaunch and running tests
  12. ./configure --enable-tests
  13. make
  14. ./test.native