forked from pypiserver/pypiserver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
92 lines (80 loc) · 1.46 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
86
87
88
89
90
91
92
stages:
- test
default:
image: python:3
.base_test:
stage: test
coverage: '/^TOTAL.*\s+(\d+\%)$/'
except:
- standalone
before_script:
- apt-get update && apt-get install -y zip
- pip install tox
- ./bin/test_standalone.sh
test-docker:
image: docker:latest
services:
- name: docker:dind
alias: localhost
except:
- standalone
before_script:
- apk add --no-cache curl python3
- pip3 install twine
script:
- ./bin/test-docker.sh
validate-readme:
image: python:3
except:
- standalone
before_script:
- pip install sphinx
script:
- ./bin/check_readme.sh
test-2.7:
extends: .base_test
image: python:2.7
script:
- tox -e py27
test-3.4:
extends: .base_test
image: python:3.4
script:
- tox -e py34
test-3.5:
extends: .base_test
image: python:3.5
script:
- tox -e py35
test-3.6:
extends: .base_test
image: python:3.6
script:
- tox -e py36
test-3.7:
extends: .base_test
image: python:3.7
script:
- tox -e py37
test-3.8-rc:
extends: .base_test
image: python:3.8-rc
allow_failure: true
script:
- tox -e py38
test-pypy-2:
extends: .base_test
image: pypy:2
before_script:
- pypy -m pip install tox
script:
- tox -e pypy
test-pypy-3:
extends: .base_test
image: pypy:3
# TODO: figure out why this is failing in GL but not in Travis
allow_failure: true
before_script:
- pypy3 -m pip install tox
script:
- tox -e pypy3