Commit 167e12e2 authored by Tristan Van Berkom's avatar Tristan Van Berkom

Automatically generate documentation on master merges

Whenever merges are made to master, documentation is
built and publised to:
    https://buildstream.gitlab.io/buildstream/
parent 631770ca
Pipeline #6934720 failed with stages
in 7 minutes and 29 seconds
# Install some requirements for BuildStream
before_script:
- echo "deb http://ftp.uk.debian.org/debian/ testing main" >> /etc/apt/sources.list
- apt-get update --fix-missing -qq
- apt-get install -y -qq bubblewrap
- apt-get install -y -qq python3.5
- apt-get install -y -qq python3-pip
- apt-get install --force-yes -qq ostree gir1.2-ostree-1.0 python3-dev python3-gi
- echo "deb http://ftp.uk.debian.org/debian/ testing main" >> /etc/apt/sources.list
- apt-get update --fix-missing -qq
- apt-get install -y -qq bubblewrap
- apt-get install -y -qq python3.5
- apt-get install -y -qq python3-pip
- apt-get install --force-yes -qq ostree gir1.2-ostree-1.0 python3-dev python3-gi
# Debian version is behind/not compatible with latest sphinx
- apt-get remove python-requests
- pip3 install --upgrade pip
- pip3 install --upgrade requests
# Debian version is behind/not compatible with latest sphinx
- apt-get remove python-requests
- pip3 install --upgrade pip
- pip3 install --upgrade requests
# Run premerge commits
#
tests:
script:
- python3 setup.py test
script:
- python3 setup.py test
doc-build:
script:
- pip3 install sphinx
- cd doc
- make
\ No newline at end of file
# Automatically build documentation, only for merges which land
# on master branch.
pages:
script:
- pip3 install sphinx
- pip3 install --user -e .
- make -C doc
- mv doc/build/html public
artifacts:
paths:
- public/
only:
- master
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment