forked from RWTH-EBC/FiLiP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
33 lines (31 loc) · 1.13 KB
/
.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
stages:
- test
- doc
- code_quality
- build
- release
- deploy
variables:
EXCLUDE_PYTHON: 37
PYTHON_VERSION: "registry.git.rwth-aachen.de/ebc/ebc_all/gitlab_ci/templates:python_3.9"
PAGES_BRANCH: master
GIT_REPO: "RWTH-EBC/FiLiP"
PYTHON_VERSION_NAME: "__version__"
PYTHON_PACKAGE_NAME: "filip"
include:
- project: 'EBC/EBC_all/gitlab_ci/templates'
file: 'python/code-quality/pylint.gitlab-ci.yml'
- project: 'EBC/EBC_all/gitlab_ci/templates'
file: 'python/doc/sphinxdoc.gitlab-ci.yml'
- project: 'EBC/EBC_all/gitlab_ci/templates'
file: 'pages/gh-pages.gitlab-ci.yml'
rules:
- if: $CI_COMMIT_BRANCH == "master" || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"
- project: 'EBC/EBC_all/gitlab_ci/templates'
file: 'python/tests/tests.gitlab-ci.yml'
- project: 'EBC/EBC_all/gitlab_ci/templates'
file: 'python/tests/coverage.gitlab-ci.yml'
- project: 'EBC/EBC_all/gitlab_ci/templates'
file: 'python/pypi-release/release.gitlab-ci.yml'
- project: 'EBC/EBC_all/gitlab_ci/templates'
file: 'python/build/build.gitlab-ci.yml'