Rename pyglib-python-compat.h to pygi-python-compat.h
[pygobject.git] / .gitlab-ci.yml
blobe446860791ca14ae68503f658981f5c694527ef4
1 stages:
2   - build_and_test
3   - coverage
5 cache:
6   paths:
7     - _ccache/
9 .defaults: &defaults
10   stage: build_and_test
11   image: lazka/pygobject:pyenv
12   artifacts:
13     paths:
14       - coverage/
15   script:
16    - bash -x ./.gitlab-ci/test-docker.sh
18 .mingw-defaults: &mingw-defaults
19   stage: build_and_test
20   tags:
21     - win32
22   artifacts:
23     paths:
24       - coverage/
25   script:
26     - C:\msys64\usr\bin\pacman --noconfirm -Syyuu
27     - C:\msys64\usr\bin\bash -lc "bash -x ./.gitlab-ci/test-msys2.sh"
29 coverage:
30   stage: coverage
31   image: lazka/pygobject:pyenv
32   artifacts:
33     paths:
34       - coverage/
35   variables:
36     PYENV_VERSION: "3.6.4"
37   script:
38     - bash -x ./.gitlab-ci/coverage-docker.sh
40 python2-mingw32:
41   variables:
42     PYTHON: "python2"
43     MSYSTEM: "MINGW32"
44     CHERE_INVOKING: "yes"
45   <<: *mingw-defaults
47 python2-mingw64:
48   variables:
49     PYTHON: "python2"
50     MSYSTEM: "MINGW64"
51     CHERE_INVOKING: "yes"
52   <<: *mingw-defaults
54 python3-mingw32:
55   variables:
56     PYTHON: "python3"
57     MSYSTEM: "MINGW32"
58     CHERE_INVOKING: "yes"
59   <<: *mingw-defaults
61 python3-mingw64:
62   variables:
63     PYTHON: "python3"
64     MSYSTEM: "MINGW64"
65     CHERE_INVOKING: "yes"
66   <<: *mingw-defaults
68 python2.7:
69   variables:
70     PYENV_VERSION: "2.7.14"
71   <<: *defaults
73 python3.4:
74   variables:
75     PYENV_VERSION: "3.4.7"
76   <<: *defaults
78 python3.5:
79   variables:
80     PYENV_VERSION: "3.5.5"
81   <<: *defaults
83 python3.6:
84   variables:
85     PYENV_VERSION: "3.6.4"
86   <<: *defaults
88 python3.7:
89   variables:
90     PYENV_VERSION: "3.7.0b2"
91   <<: *defaults
93 xenial-i386-py2:
94   stage: build_and_test
95   image: lazka/pygobject:pyenv-old
96   script:
97    - bash -x ./.gitlab-ci/test-docker-old.sh