-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
49 lines (41 loc) · 893 Bytes
/
.gitlab-ci.yml
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
38
39
40
41
42
43
44
45
46
47
48
stages:
- test
- docker
- doc
#-----------------
# Tests
#-----------------
.tests:
image: ${REGISTRY_URL}/factory-ci-runner:qgis-${QGIS_FLAVOR}
stage: test
script:
# XXX shell runned with gitlab runner are not
# sourcing ~/.bashrc (but works with `docker run ...`)
- source ~/.bashrc
- make install install-dev
- pip list -l
- make test
tags:
- factory
tests:
extends: .tests
resource_group: py_qgis_server2_tests
parallel:
matrix:
- QGIS_FLAVOR: ['ltr', 'release']
doc:
image: ${REGISTRY_URL}/factory-ci-runner:build-doc
stage: doc
script:
- source ~/.bashrc
- make -C doc
- deploy-doc doc/build/html/ doc/doc.manifest
- make -C python_modules/py-qgis-processes/doc html deploy-ci
tags:
- factory-plain
only:
refs:
- tags
- main
# Docker build
include: '/docker/.gitlab-ci.yml'