Update po files
[mailman-postorious.git] / .gitlab-ci.yml
blobe66d54c8d718ef7858e631b6dd7b52bc39f1aa1a
1 ---
2 image: ghcr.io/maxking/mailman-ci-runner
4 py36-django22:
5   stage: test
6   script:
7     - tox -e py36-django22
9 py36-django31:
10   stage: test
11   script:
12     - tox -e py36-django31
14 py36-django32:
15   stage: test
16   script:
17     - tox -e py36-django32
19 py37-django22:
20   stage: test
21   script:
22     - tox -e py37-django22
24 py37-django31:
25   stage: test
26   script:
27     - tox -e py37-django31
29 py37-django32:
30   stage: test
31   script:
32     - tox -e py37-django32
34 py38-django22:
35   stage: test
36   script:
37     - tox -e py38-django22
39 py38-django31:
40   stage: test
41   script:
42     - tox -e py38-django31
44 py38-django32:
45   stage: test
46   script:
47     - tox -e py38-django32
49 py39-django22:
50   stage: test
51   script:
52     - tox -e py39-django22
54 py39-django30:
55   stage: test
56   script:
57     - tox -e py39-django30
59 py39-django31:
60   stage: test
61   script:
62     - tox -e py39-django31
64 py39-django32:
65   stage: test
66   script:
67     - tox -e py39-django32
69 py39-django-latest:
70   stage: test
71   allow_failure: true
72   script:
73     - printf "Remove all django version restriction from setup.py.\n"
74     - sed -E 's/django[<=>,.[:digit:]]+/django/' -i setup.py
75     - tox -e py39-django-latest
77 coverage:
78   stage: test
79   script:
80     - tox -e coverage
81   artifacts:
82     paths:
83       - coverage
84     expire_in: 5 days
86 pep8:
87   stage: test
88   script:
89     - tox -e pep8
91 upstream-client:
92   stage: test
93   script:
94     - tox -e upstream-client
95   only:
96     variables:
97       - $MAILMANCLIENT_COMMIT_SHA
99 upstream-django-mailman3:
100   stage: test
101   script:
102     - tox -e upstream-django-mailman3
103   only:
104     variables:
105       - $DJANGO_MAILMAN3_COMMIT_SHA
107 include:
108   - template: SAST.gitlab-ci.yml
110 variables:
111   SAST_DEFAULT_ANALYZERS: "bandit,secrets"