forked from Kozea/pygal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
48 lines (36 loc) · 1.03 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
before_script:
- pip install --upgrade pip setuptools
- pip install --upgrade .[test]
.before_script_alpine: &before_alpine
before_script:
- apk add --no-cache openssl gcc libxml2 libxml2-dev libxslt libxslt-dev libffi libffi-dev musl-dev libjpeg-turbo libjpeg-turbo-dev cairo cairo-dev
- pip install --upgrade pip setuptools
- pip install --upgrade .[test]
.test_template: &test
script:
- py.test pygal/ --flake8 --cov-report= --cov=pygal
python 2.7alpine:
image: python:2.7-alpine
<<: *before_alpine
<<: *test
# Broken symbolic link with alpine :
# https://github.com/docker-library/python/issues/155
python 3.3alpine:
image: python:3.3-alpine
<<: *before_alpine
<<: *test
python 3.4alpine:
image: python:3.4-alpine
<<: *before_alpine
<<: *test
python 3.5alpine:
image: python:3.5-alpine
<<: *before_alpine
<<: *test
python 3.6alpine:
image: python:3.6-alpine
<<: *before_alpine
<<: *test
python pypy:
image: pypy:2
<<: *test