Devuan deployment of britney2
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

64 lines
1.6 KiB

  1. tests-stretch:
  2. stage: test
  3. image: debian:stretch
  4. script:
  5. - apt-get update
  6. - apt-get install -y python3 python3-apt python3-yaml python3-pycodestyle python3-pytest git rsync libclass-accessor-perl libdpkg-perl libyaml-syck-perl
  7. - ci/gitlab-ci-runner
  8. tests-buster:
  9. stage: test
  10. image: debian:buster
  11. script:
  12. - apt-get update
  13. - apt-get install -y python3 python3-apt python3-yaml python3-coverage python3-pycodestyle pycodestyle python3-pytest python3-pytest-cov git rsync libclass-accessor-perl libdpkg-perl libyaml-syck-perl
  14. - ci/gitlab-ci-runner --with-coverage
  15. artifacts:
  16. when: always
  17. paths:
  18. - coverage
  19. - codestyle
  20. tests-bullseye:
  21. stage: test
  22. image: debian:bullseye
  23. allow_failure: true
  24. script:
  25. - apt-get update
  26. - apt-get install -y python3 python3-apt python3-yaml python3-coverage python3-pycodestyle pycodestyle python3-pytest python3-pytest-cov git rsync libclass-accessor-perl libdpkg-perl libyaml-syck-perl
  27. - ci/gitlab-ci-runner --with-coverage
  28. artifacts:
  29. when: always
  30. paths:
  31. - coverage
  32. - codestyle
  33. docs:
  34. stage: test
  35. image: debian:buster
  36. script:
  37. - apt-get update
  38. - apt-get install -y python3-sphinx
  39. - sphinx-build -M html doc _build
  40. - mv _build/html docs
  41. artifacts:
  42. paths:
  43. - docs
  44. pages:
  45. stage: deploy
  46. dependencies:
  47. - docs
  48. - tests-buster
  49. script:
  50. - rm -fr public
  51. - mkdir public
  52. - mv docs public/docs
  53. - mv coverage public/coverage
  54. - mv codestyle public/codestyle
  55. artifacts:
  56. paths:
  57. - public
  58. only:
  59. - master