-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitlab-ci.yml
85 lines (75 loc) · 1.66 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
image: python:3
stages:
- lint
- test
lint:
image: python:3.7
stage: lint
script:
# Work around pylint not being able to figure out falcon imports when
# using manylinux wheels.
# See https://github.com/falconry/falcon/issues/1553 for details.
- make setup
- source venv/bin/activate; pip install no-manylinux
- "source venv/bin/activate; pip install --no-binary :all: --force-reinstall falcon"
- make lint
test-2.7:
image: python:2.7
stage: test
coverage: '/^TOTAL.*\s+(\d+\%)$/'
script:
- pip install tox
- tox -e py27
test-3.4:
image: python:3.4
stage: test
coverage: '/^TOTAL.*\s+(\d+\%)$/'
script:
- pip install tox
- tox -e py34
test-3.5-marshmallow-2:
image: python:3.5
stage: test
coverage: '/^TOTAL.*\s+(\d+\%)$/'
script:
- pip install tox
- tox -e py35-marshmallow2
test-3.5-marshmallow-3:
image: python:3.5
stage: test
coverage: '/^TOTAL.*\s+(\d+\%)$/'
script:
- pip install tox
- tox -e py35-marshmallow3
test-3.6-marshmallow-2:
image: python:3.6
stage: test
variables:
TESTENV: py36-marshmallow2
coverage: '/^TOTAL.*\s+(\d+\%)$/'
script:
- make test-env
test-3.6-marshmallow-3:
image: python:3.6
stage: test
variables:
TESTENV: py36-marshmallow3
coverage: '/^TOTAL.*\s+(\d+\%)$/'
script:
- make test-env
test-3.7-marshmallow-2:
image: python:3.7
stage: test
variables:
TESTENV: py37-marshmallow2
coverage: '/^TOTAL.*\s+(\d+\%)$/'
script:
- make test-env
test-3.7-marshmallow-3:
image: python:3.7
stage: test
variables:
TESTENV: py37-marshmallow3
coverage: '/^TOTAL.*\s+(\d+\%)$/'
script:
- make test-env