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.
 
 
 

47 lines
1.0 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-sid:
  9. stage: test
  10. image: debian:sid
  11. script:
  12. - apt-get update
  13. - apt-get install -y python3 python3-apt python3-yaml python3-coverage python3-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. paths:
  17. - coverage
  18. docs:
  19. stage: test
  20. image: debian:sid
  21. script:
  22. - apt-get update
  23. - apt-get install -y python3-sphinx
  24. - sphinx-build -M html doc _build
  25. - mv _build/html docs
  26. artifacts:
  27. paths:
  28. - docs
  29. pages:
  30. stage: deploy
  31. dependencies:
  32. - docs
  33. - tests-sid
  34. script:
  35. - rm -fr public
  36. - mkdir public
  37. - mv docs public/docs
  38. - mv coverage public/coverage
  39. artifacts:
  40. paths:
  41. - public
  42. only:
  43. - master