-
Notifications
You must be signed in to change notification settings - Fork 22
/
.gitlab-ci.yml
72 lines (65 loc) · 1.61 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
# Dear maintainers of the pypy image...
before_script:
- test -f /usr/local/bin/pypy && ln -s pypy /usr/local/bin/python
- test -f /usr/local/bin/pypy3 && ln -s pypy3 /usr/local/bin/python
test:2.7:
image: python:2.7-alpine
type: test
script:
- apk update && apk add git
- pip install pytest-cov
- python setup.py install
- python setup.py test
- py.test --cov=chkcrontab_lib tests
test:3.3:
image: python:3.3-alpine
type: test
script:
- apk update && apk add git
- pip install pytest-cov
- python setup.py install
- python setup.py test
- py.test --cov=chkcrontab_lib tests
test:3.4:
image: python:3.4-alpine
type: test
script:
- apk update && apk add git
- pip install pytest-cov
- python setup.py install
- python setup.py test
- py.test --cov=chkcrontab_lib tests
test:3.5:
image: python:3.5-alpine
type: test
script:
- apk update && apk add git
- pip install pytest-cov
- python setup.py install
- python setup.py test
- py.test --cov=chkcrontab_lib tests
test:3.6:
image: python:3.6-alpine
type: test
script:
- apk update && apk add git
- pip install pytest-cov
- python setup.py install
- python setup.py test
- py.test --cov=chkcrontab_lib tests
test:pypy-2:
image: pypy:2
type: test
script:
- pip install pytest-cov
- python setup.py install
- python setup.py test
- py.test --cov=chkcrontab_lib tests
# TODO(lyda): Fix test coverage here.
test:pypy-3:
image: pypy:3
type: test
script:
- pip install pytest-cov
- python setup.py install
- python setup.py test