.gitlab-ci.yml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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: true
  61. centos:
  62. before_script:
  63. - sudo yum install m4
  64. stage: real
  65. image: ocaml/opam:centos
  66. script: "export OC_NOTEST=true; ./gitlab-ci.sh system"
  67. allow_failure: true
  68. fedora:
  69. before_script:
  70. - sudo dnf install m4
  71. stage: real
  72. image: ocaml/opam:fedora
  73. script: "export OC_NOTEST=true; ./gitlab-ci.sh system"
  74. allow_failure: true
  75. opensuse:
  76. before_script:
  77. - sudo zypper --non-interactive up && sudo zypper --non-interactive in m4
  78. stage: real
  79. image: ocaml/opam:opensuse
  80. script: "export OC_NOTEST=true; ./gitlab-ci.sh system"
  81. allow_failure: true