.gitlab-ci.yml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. stages:
  2. # Test with alpine
  3. - test
  4. # Real distrubutions
  5. - real
  6. # OCaml version 4.02
  7. ocaml_402:
  8. before_script:
  9. - sudo apk update && sudo apk add m4
  10. stage: test
  11. image: ocaml/opam:alpine_ocaml-4.02.3
  12. script: "./gitlab-ci.sh"
  13. allow_failure: false
  14. # OCaml version 4.00
  15. ocaml_400:
  16. before_script:
  17. - sudo apk update && sudo apk add m4
  18. stage: test
  19. image: ocaml/opam:alpine_ocaml-4.00.1
  20. script: "./gitlab-ci.sh"
  21. allow_failure: true
  22. # OCaml version 4.01
  23. ocaml_401:
  24. before_script:
  25. - sudo apk update && sudo apk add m4
  26. stage: test
  27. image: ocaml/opam:alpine_ocaml-4.01.0
  28. script: "./gitlab-ci.sh"
  29. allow_failure: true
  30. # OCaml version 4.03
  31. ocaml_403:
  32. before_script:
  33. - sudo apk update && sudo apk add m4
  34. stage: test
  35. image: ocaml/opam:alpine_ocaml-4.03.0
  36. script: "./gitlab-ci.sh"
  37. allow_failure: true
  38. # OCaml version 4.03
  39. ocaml_403_flambda:
  40. before_script:
  41. - sudo apk update && sudo apk add m4
  42. stage: test
  43. image: ocaml/opam:alpine_ocaml-4.03.0_flambda
  44. script: "./gitlab-ci.sh"
  45. allow_failure: true
  46. # ---------------
  47. ubuntu:
  48. before_script:
  49. - sudo apt-get update && sudo apt-get install m4
  50. stage: real
  51. image: ocaml/opam:ubuntu
  52. script: "export OC_NOTEST=true; ./gitlab-ci.sh system"
  53. allow_failure: false
  54. debian:
  55. before_script:
  56. - sudo apt-get update && sudo apt-get install m4
  57. stage: real
  58. image: ocaml/opam:debian
  59. script: "export OC_NOTEST=true; ./gitlab-ci.sh system"
  60. allow_failure: false
  61. centos:
  62. before_script:
  63. - sudo dnf install m4-devel
  64. stage: real
  65. image: ocaml/opam:centos
  66. script: "export OC_NOTEST=true; ./gitlab-ci.sh system"
  67. allow_failure: false
  68. fedora:
  69. before_script:
  70. - sudo dnf install m4-devel
  71. stage: real
  72. image: ocaml/opam:fedora
  73. script: "export OC_NOTEST=true; ./gitlab-ci.sh system"
  74. allow_failure: false
  75. opensuse:
  76. stage: real
  77. image: ocaml/opam:opensuse
  78. script: "export OC_NOTEST=true; ./gitlab-ci.sh system"
  79. allow_failure: false