-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.gitlab-ci.yml
55 lines (48 loc) · 843 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
49
50
51
52
53
54
55
cache:
paths:
- .pip
- .tox
.tox:
before_script:
- apt-get update &&
apt-get install -y ffmpeg
- pip --cache-dir=.pip install tox
script:
- tox -- --junitxml=junit.xml --cov-report=xml:coverage.xml
coverage: '/TOTAL.*\s+(\d+%)$/'
artifacts:
reports:
coverage_report:
coverage_format: cobertura
path: coverage.xml
junit: junit.xml
py36:
extends: .tox
image: python:3.6
variables:
TOXENV: py36
py37:
extends: .tox
image: python:3.7
variables:
TOXENV: py37
py38:
extends: .tox
image: python:3.8
variables:
TOXENV: py38
py39:
extends: .tox
image: python:3.9
variables:
TOXENV: py39
py310:
extends: .tox
image: python:3.10
variables:
TOXENV: py310
py311:
extends: .tox
image: python:3.11
variables:
TOXENV: py311