blob: e68b76521fc0cb4d71d019de4d362f9d1826ec43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# 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 -y -qq bzr
- 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
# Run premerge commits
#
tests:
script:
- python3 setup.py test
# Automatically build documentation, only for merges which land
# on master branch.
pages:
script:
- pip3 install sphinx
- pip3 install sphinx-click
- pip3 install --user -e .
- make -C doc
- mv doc/build/html public
artifacts:
paths:
- public/
only:
- master
|