Fix pep8 errors for new versions of flake8.
[mailman-postorious.git] / .gitlab-ci.yml
blobc42d161910d2869afd5bbd92508e96dff59a1485
1 image: maxking/mailman-ci-runner
4 py35-django-1.11:
5   stage: test
6   script:
7   - tox -e py35-django111
9 py36-django-1.11:
10   stage: test
11   script:
12   - tox -e py36-django111
14 py37-django-20:
15   stage: test
16   script:
17     - tox -e py37-django20
19 py36-django-20:
20   stage: test
21   script:
22     - tox -e py36-django20
24 py35-django-20:
25   stage: test
26   script:
27     - tox -e py35-django20
29 py35-django-21:
30   stage: test
31   script:
32     - tox -e py35-django21
34 py36-django-21:
35   stage: test
36   script:
37     - tox -e py36-django21
39 py37-django-21:
40   stage: test
41   script:
42     - tox -e py37-django21
44 coverage:
45   stage: test
46   script:
47   - tox -e coverage
48   artifacts:
49     paths:
50     - coverage
51     expire_in: 5 days
53 pep8:
54   stage: test
55   script:
56   - tox -e pep8
58 git-heads:
59   stage: test
60   script:
61   - tox -e py36-head
63 django-latest:
64   stage: test
65   allow_failure: true
66   script:
67     - tox -e py36-django-latest
69 pages:
70   stage: deploy
71   dependencies:
72   - coverage
73   script:
74   - mv coverage/ public/
75   artifacts:
76     paths:
77     - public
78     expire_in: 5 days
79   only:
80   - master