pages:
    image: ubuntu:latest
    stage: deploy
    script:
        - apt-get install -y doxygen graphviz g++ python3-distutils git
        - mkdir -p build
        - cd build
        - cmake ..
        - make doxygen
        - make docs_depends_install
        - make docs
    after_script:
        - mv build/docs/site public
        - mv build/doxygen/html public/doxygen
        - mv report public/report
        #- mv build/coverage public/coverage
    artifacts:
        paths:
            - public
    when: always
    only:
        - master
    needs:
        - test-files
        #- "linux:test"
