-
Notifications
You must be signed in to change notification settings - Fork 3
/
.gitlab-ci.yml
52 lines (43 loc) · 946 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
image: python:3.6-alpine
before_script:
- pip install tox
- pip freeze
stages:
- quality
- test
- coverage
quality:
stage: quality
script:
- tox -e quality
python2.7:
image: python:2.7-alpine
script:
- tox -e py27-django111
python3.4:
image: python:3.4-alpine
script:
- tox -e py34-django111,py34-django20
python3.5:
image: python:3.5-alpine
script:
- tox -e py35-django111,py35-django20
python3.6:
script:
- tox -e py36-django111,py36-django20
artifacts:
paths:
- .coverage
expire_in: 1h
python3.7:
image: python:3.7-rc-alpine
script:
- tox -e py37-django111,py37-django20
coverage:
stage: coverage
before_script:
- pip install coverage
- pip freeze
script:
- coverage report --include=*/tests/* --fail-under=100
- coverage report --omit=*/tests/*