.gitlab-ci.yml 695 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
tests-stable-html:
  stage: test
  image: debian:stable
  script:
    - apt-get update
    - apt-get build-dep --build-profiles 'pkg.release-notes.nopdf' -y .
    - make all FORMATS=html

tests-unstable-html:
  stage: test
  image: debian:unstable
  script:
    - apt-get update
    - apt-get build-dep --build-profiles 'pkg.release-notes.nopdf' -y .
15 16
    - mkdir html-output
    - make publish FORMATS=html PUBLISHDIR=html-output USE_SYMLINK=no
17 18
  artifacts:
    paths:
19
      - html-output
20 21 22 23 24 25 26 27

pages:
  stage: deploy
  dependencies:
    - tests-unstable-html
  script:
    - rm -fr public
    - mkdir public
28
    - mv html-output/* public/
29 30 31 32 33
  artifacts:
    paths:
      - public
  only:
    - master